Skip to content

Commit

Permalink
Merge pull request #159 from DominicDirkx/UnitTestFixes
Browse files Browse the repository at this point in the history
Changing unit test tolerances to in response to issue #145
  • Loading branch information
DominicDirkx authored Mar 8, 2017
2 parents c27baa9 + f260c1a commit 3e16a0c
Show file tree
Hide file tree
Showing 3 changed files with 277 additions and 277 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ BOOST_AUTO_TEST_CASE( testCentralGravityPartials )

// Compare numerical and analytical results.
TUDAT_CHECK_MATRIX_CLOSE_FRACTION( testPartialWrtEarthPosition,
partialWrtEarthPosition, 1.0E-9 );
partialWrtEarthPosition, 1.0E-8 );

TUDAT_CHECK_MATRIX_CLOSE_FRACTION( testPartialWrtEarthVelocity,
partialWrtEarthVelocity, std::numeric_limits< double >::epsilon( ) );
TUDAT_CHECK_MATRIX_CLOSE_FRACTION( testPartialWrtSunPosition,
partialWrtSunPosition, 1.0E-9 );
partialWrtSunPosition, 1.0E-8 );
TUDAT_CHECK_MATRIX_CLOSE_FRACTION( testPartialWrtSunVelocity,
partialWrtSunVelocity, std::numeric_limits< double >::epsilon( ) );
TUDAT_CHECK_MATRIX_CLOSE_FRACTION( testPartialWrtSunGravitationalParameter,
Expand Down
Loading

0 comments on commit 3e16a0c

Please sign in to comment.