Skip to content

Commit

Permalink
set default value of hermite.parameters.end_time_accuracy_factor from…
Browse files Browse the repository at this point in the history
… 0.5 to 0.0 (#1028)

Co-authored-by: Simon Portegies Zwart <[email protected]>
  • Loading branch information
rieder and spzwart authored Jan 24, 2024
1 parent 9e425e8 commit 044ca1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/amuse/community/hermite/interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static real t_evolve = t; // Time requested by evolve. Control r
// system is computed by extrapolation.
static real t_wanted = 0;
static double begin_time = 0;
static double end_time_accuracy_factor = 0.5;
static double end_time_accuracy_factor = 0.0;

static vector<int> ident;
static vector<real> mass, radius, potential;
Expand Down
2 changes: 1 addition & 1 deletion src/amuse/community/hermite/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def define_parameters(self, handler):
Valid factors are between -1.0 and 1.0
""",
default_value = 1.0
default_value = 0.0
)
handler.add_method_parameter(
"get_dt_dia",
Expand Down

0 comments on commit 044ca1f

Please sign in to comment.