Skip to content

Commit

Permalink
Updating version to 3.28.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Sep 19, 2023
1 parent 16a5533 commit cba329c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Version](https://img.shields.io/badge/rebound-v3.28.0-green.svg?style=flat)](https://rebound.readthedocs.org)
[![Version](https://img.shields.io/badge/rebound-v3.28.1-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)
Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ This changelog only includes the most important changes in recent updates. For a

## Version 3.x

### Version 3.28.1
* Improved support for reading old and corrupted SimulationArchives.
* Renamed `ri_ias15.epsilon_global` to `ri_ias15.adaptive_mode`.
* Added new timestep method for IAS15 `ri_ias15.adaptive_mode = 2`. This is experimental for now. Details to be described in Pham, Rein & Spiegel (in prep).
* Added unit tests to check for fused multiply add instruction (these break reproducibility).
* Added phony target in C Makefile to force rebuilding librebound whenever building examples.

### Version 3.28.0
- Native Windows support. REBOUND can now be built natively on Windows (without WSL) using the Microsoft Visual Studio Compiler.
- Python Wheels are now provided for Linux, MacOS, and Windows. This should significantly speed up the installation process on a wide variety of systems.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
ghash = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ascii")
ghash_arg = "-DGITHASH="+ghash.strip()
except:
ghash_arg = "-DGITHASH=c059854ec0e012f5a57cee899ce3767d78892e8e" #GITHASHAUTOUPDATE
ghash_arg = "-DGITHASH=16a5533523572c9cb0b5fd5aa4067c6222aa1add" #GITHASHAUTOUPDATE

extra_link_args=[]
if sys.platform == 'darwin':
Expand Down Expand Up @@ -81,7 +81,7 @@
long_description = f.read()

setup(name='rebound',
version='3.28.0',
version='3.28.1',
description='An open-source multi-purpose N-body code',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion src/integrator_ias15.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ static int reb_integrator_ias15_step(struct reb_simulation* r) {
}else{ // In the rare case that the error estimate doesn't give a finite number (e.g. when all forces accidentally cancel up to machine precission).
dt_new = dt_done/safety_factor; // by default, increase timestep a little
};
}else{ // adaptive_mode == 1 (New adaptive timestepping method)
}else{ // adaptive_mode == 2 (New adaptive timestepping method)
double min_timescale2 = INFINITY; // note factor of dt_done**2 not included
for(unsigned int i=0;i<Nreal;i++){
double a0i = 0; //accelertation at beginning of timestep
Expand Down
2 changes: 1 addition & 1 deletion src/rebound.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void usleep(__int64 usec);
const int reb_max_messages_length = 1024; // needs to be constant expression for array size
const int reb_max_messages_N = 10;
const char* reb_build_str = __DATE__ " " __TIME__; // Date and time build string.
const char* reb_version_str = "3.28.0"; // **VERSIONLINE** This line gets updated automatically. Do not edit manually.
const char* reb_version_str = "3.28.1"; // **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_error_message_waiting(struct reb_simulation* const r);
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.28.0
3.28.1

0 comments on commit cba329c

Please sign in to comment.