adaptive_step shoould return next_h, not default_h. #1114

This commit is contained in:
Penn, John M 047828115 2021-02-22 17:23:50 -06:00
parent 8e3f99e4fe
commit 320ff5915a

View File

@ -683,7 +683,7 @@ double SA::RKF45Integrator::adaptive_step(double h) {
} while (R > epsilon);
advanceIndyVar(last_h);
return (default_h);
return (next_h);
}
// Insertion Operator