From 49b55b9e8f5814b331dd54cdea3b59cacbc78fb2 Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Sun, 1 Sep 2024 10:46:10 -0400 Subject: [PATCH] Updating version to 4.4.3 --- README.md | 2 +- changelog.md | 8 ++++++++ setup.py | 4 ++-- src/rebound.c | 2 +- version.txt | 2 +- web_client/shell_rebound.html | 2 +- web_client/shell_rebound_console.html | 2 +- web_client/shell_rebound_webgl.html | 2 +- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2703dec39..42fdea6af 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/rebound-v4.4.2-green.svg?style=flat)](https://rebound.readthedocs.org) +[![Version](https://img.shields.io/badge/rebound-v4.4.3-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 97380e2b7..fa7198c81 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,14 @@ This changelog only includes the most important changes in recent updates. For a ## Version 4.x +### Version 4.4.3 +* REBOUND now raises ImportError if it detects a size mismatch between the C and python Simulation structures. +* Fixes a bug in the WHFast512 synchronization on non-AVX512 systems. +* Fixes a bug in the SimulationArchive in cases where there are multiple snaptshots with t=0. +* Updates TRACE switching condition to match Lu et al (2024). +* TRACE binary file has been reduced. +* Pericenter passage time is now calculated even if particles are not in a Simulation. + ### Version 4.4.2 * Fixed bug in TRACE when adding particles. * Added WHFast fallback for synchronizing WHFast512 simulations with `N_systems` > 1. diff --git a/setup.py b/setup.py index bd662ccc8..6443cb273 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=bbe22f90e0bc18d2ac5802235f452d8441814687" #GITHASHAUTOUPDATE + ghash_arg = "-DGITHASH=a548a279c439c6ccdbb05e4ded8d5a284dad5df0" #GITHASHAUTOUPDATE extra_link_args=[] if sys.platform == 'darwin': @@ -84,7 +84,7 @@ long_description = f.read() setup(name='rebound', - version='4.4.2', + version='4.4.3', 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 afbc90149..82f6ac601 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.2"; // **VERSIONLINE** This line gets updated automatically. Do not edit manually. +const char* reb_version_str = "4.4.3"; // **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 1d068c6ec..9e3a93350 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.4.2 +4.4.3 diff --git a/web_client/shell_rebound.html b/web_client/shell_rebound.html index e7077da82..440508cba 100644 --- a/web_client/shell_rebound.html +++ b/web_client/shell_rebound.html @@ -135,7 +135,7 @@
- REBOUND v4.4.2 + REBOUND v4.4.3
diff --git a/web_client/shell_rebound_console.html b/web_client/shell_rebound_console.html index 0ebaf7a29..74818d6e8 100644 --- a/web_client/shell_rebound_console.html +++ b/web_client/shell_rebound_console.html @@ -117,7 +117,7 @@
- REBOUND v4.4.2 + REBOUND v4.4.3
diff --git a/web_client/shell_rebound_webgl.html b/web_client/shell_rebound_webgl.html index 2a0430c71..2b5f4b8a1 100644 --- a/web_client/shell_rebound_webgl.html +++ b/web_client/shell_rebound_webgl.html @@ -135,7 +135,7 @@
- REBOUND v4.4.2 + REBOUND v4.4.3