Skip to content

Commit

Permalink
Corrected ABM integrator; fixed unit test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed May 2, 2023
1 parent d22ae01 commit 75f70ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ class AdamsBashforthMoultonIntegrator
minimumOrder_ = 6;
maximumOrder_ = 11;
order_ = minimumOrder_;
stepSize_ = 1.;
fixedSingleStep_ = fixedStepSize_;

// Start filling the state and state derivative history deques.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ BOOST_AUTO_TEST_CASE( test_ParameterPostFitResiduals )
{
BOOST_CHECK_EQUAL( finalPrefitDifference.norm( ) > 400.0, true );

BOOST_CHECK_EQUAL( initialPostfitDifference.norm( ) > 40.0, true );
BOOST_CHECK_EQUAL( initialPostfitDifference.norm( ) > 10.0, true );
BOOST_CHECK_EQUAL( initialPostfitDifference.norm( ) < 60.0, true );

BOOST_CHECK_EQUAL( finalPostfitDifference.norm( ) > 40.0, true );
BOOST_CHECK_EQUAL( finalPostfitDifference.norm( ) > 10.0, true );
BOOST_CHECK_EQUAL( finalPostfitDifference.norm( ) < 60.0, true );

BOOST_CHECK_EQUAL( prefitRms / postfitRms > 8.0, true );
Expand Down

0 comments on commit 75f70ce

Please sign in to comment.