mirror of
https://github.com/nasa/trick.git
synced 2025-02-21 17:36:42 +00:00
adaptive_step shoould return next_h, not default_h. #1114
This commit is contained in:
parent
8e3f99e4fe
commit
320ff5915a
@ -683,7 +683,7 @@ double SA::RKF45Integrator::adaptive_step(double h) {
|
|||||||
} while (R > epsilon);
|
} while (R > epsilon);
|
||||||
|
|
||||||
advanceIndyVar(last_h);
|
advanceIndyVar(last_h);
|
||||||
return (default_h);
|
return (next_h);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insertion Operator
|
// Insertion Operator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user