diff --git a/README.md b/README.md index 3a67a6f6b..856c0846b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/rebound-v4.4.5-green.svg?style=flat)](https://rebound.readthedocs.org) +[![Version](https://img.shields.io/badge/rebound-v4.4.6-green.svg?style=flat)](https://rebound.readthedocs.org) [![PyPI](https://badge.fury.io/py/rebound.svg)](https://badge.fury.io/py/rebound) [![GPL](https://img.shields.io/badge/license-GPL-green.svg?style=flat)](https://github.com/hannorein/rebound/blob/main/LICENSE) [![Paper](https://img.shields.io/badge/arXiv-1110.4876-green.svg?style=flat)](https://arxiv.org/abs/1110.4876) diff --git a/changelog.md b/changelog.md index 4ca48e149..11fae0561 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,11 @@ This changelog only includes the most important changes in recent updates. For a ## Version 4.x +### Version 4.4.6 +* When initializing particles with "uniform" in python, REBOUND now uses its own `reb_random_uniform()` function. This avoids importing the "random" library and makes results reproducible as the random seed of the simulation is used when generating random numbers. +* More cracefull interrupt handling. REBOUND now stop the integration after the next timestep when CTRL-C is pressed the first time. If CTRL-C s pressed twice, then long loops (during gravity, collision calculations) are terminated immediately. Continuing an integration after one CTRL-C press should be easier with this change as the simulation does not get corrupted. +* Fixed typos in documentation. + ### Version 4.4.5 * Version updated to test github workflows diff --git a/setup.py b/setup.py index 6a288f3c8..2409a9102 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ ghash = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ascii") ghash_arg = "-DGITHASH="+ghash.strip() except: - ghash_arg = "-DGITHASH=5d649b9125ed899b4cb25025712c3edf22be76a0" #GITHASHAUTOUPDATE + ghash_arg = "-DGITHASH=be4654593929232c50cce49e27913af43a9db2b8" #GITHASHAUTOUPDATE extra_link_args=[] if sys.platform == 'darwin': @@ -84,7 +84,7 @@ long_description = f.read() setup(name='rebound', - version='4.4.5', + version='4.4.6', description='An open-source multi-purpose N-body code', long_description=long_description, long_description_content_type="text/markdown", diff --git a/src/rebound.c b/src/rebound.c index f9bc0da87..2edab8a4f 100644 --- a/src/rebound.c +++ b/src/rebound.c @@ -69,7 +69,7 @@ void usleep(__int64 usec); const int reb_max_messages_length = 1024; // needs to be constant expression for array size const int reb_N_max_messages = 10; const char* reb_build_str = __DATE__ " " __TIME__; // Date and time build string. -const char* reb_version_str = "4.4.5"; // **VERSIONLINE** This line gets updated automatically. Do not edit manually. +const char* reb_version_str = "4.4.6"; // **VERSIONLINE** This line gets updated automatically. Do not edit manually. const char* reb_githash_str = STRINGIFY(GITHASH); // This line gets updated automatically. Do not edit manually. static int reb_simulation_error_message_waiting(struct reb_simulation* const r); diff --git a/version.txt b/version.txt index fa1ba0458..b98ff4c48 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.4.5 +4.4.6 diff --git a/web_client/shell_rebound.html b/web_client/shell_rebound.html index de0a46b65..5b8ad6c61 100644 --- a/web_client/shell_rebound.html +++ b/web_client/shell_rebound.html @@ -135,7 +135,7 @@
- REBOUND v4.4.5 + REBOUND v4.4.6
diff --git a/web_client/shell_rebound_console.html b/web_client/shell_rebound_console.html index 91626d6af..d7712c576 100644 --- a/web_client/shell_rebound_console.html +++ b/web_client/shell_rebound_console.html @@ -117,7 +117,7 @@
- REBOUND v4.4.5 + REBOUND v4.4.6
diff --git a/web_client/shell_rebound_webgl.html b/web_client/shell_rebound_webgl.html index 2f9255daa..bbe121f64 100644 --- a/web_client/shell_rebound_webgl.html +++ b/web_client/shell_rebound_webgl.html @@ -135,7 +135,7 @@
- REBOUND v4.4.5 + REBOUND v4.4.6