Skip to content

Commit

Permalink
loosen tolerance on sundials roundoff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Sep 17, 2024
1 parent 7f945a7 commit 0edec08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_RKIntegrator.H
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public:
{
// Adjust step size to reach output time
// protect against roundoff
if ((time_out-time_current) < dt || almostEqual(time_out-time_current,dt,10)) {
if ((time_out-time_current) < dt || almostEqual(time_out-time_current,dt,1000)) {
dt = time_out - time_current;
stop = true;
}
Expand Down

0 comments on commit 0edec08

Please sign in to comment.