{"action":"created","issue":{"url":"https://api.github.com/repos/Tudat/tudat/issues/13","labels_url":"https://api.github.com/repos/Tudat/tudat/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Tudat/tudat/issues/13/comments","events_url":"https://api.github.com/repos/Tudat/tudat/issues/13/events","html_url":"https://github.com/Tudat/tudat/issues/13","id":130346952,"number":13,"title":"Test failures using Clang (7.0.2) on Mac OS X El Capitan","user":{"login":"kartikkumar","id":3645858,"avatar_url":"https://avatars.githubusercontent.com/u/3645858?v=3","gravatar_id":"","url":"https://api.github.com/users/kartikkumar","html_url":"https://github.com/kartikkumar","followers_url":"https://api.github.com/users/kartikkumar/followers","following_url":"https://api.github.com/users/kartikkumar/following{/other_user}","gists_url":"https://api.github.com/users/kartikkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/kartikkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartikkumar/subscriptions","organizations_url":"https://api.github.com/users/kartikkumar/orgs","repos_url":"https://api.github.com/users/kartikkumar/repos","events_url":"https://api.github.com/users/kartikkumar/events{/privacy}","received_events_url":"https://api.github.com/users/kartikkumar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Tudat/tudat/labels/unit%20test","name":"unit test","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-01T12:17:14Z","updated_at":"2016-02-02T10:54:21Z","closed_at":null,"body":"Managed to build the current version of Tudat on my Macbook Air but a number of tests are failing.\r\n\r\n```\r\nThe following tests FAILED:\r\n\t  2 - test_AerodynamicsNamespace (Failed)\r\n\t  7 - test_OrbitalElementConversions (Failed)\r\n\t 10 - test_MeanToEccentricAnomalyConversion (Failed)\r\n\t 11 - test_MeanToHyperbolicEccentricAnomalyConversion (Failed)\r\n```\r\n\r\nDigging deeper, these are the individual problems:\r\n\r\n#### test_AerodynamicsNamespace \r\n``\r\nAssertion failed: ((m_fraction_tolerance >= FPT(0))&&(\"tolerance must not be negative!\")), function close_at_tolerance, file /usr/local/include/boost/test/tools/floating_point_comparison.hpp, line 217.\r\nunknown location:0: fatal error: in \"test_aerodynamics_namespace/testAerodynamicNamespacePressureFunctions\": signal: SIGABRT (application abort requested)\r\ntudat/Tudat/Astrodynamics/Aerodynamics/UnitTests/unitTestAerodynamicsNamespace.cpp:134: last checkpoint\r\n``\r\n#### test_OrbitalElementConversions \r\n``\r\ntudat/Tudat/Astrodynamics/BasicAstrodynamics/UnitTests/unitTestOrbitalElementConversions.cpp:774: error: in \"test_orbital_element_conversions/testCartesianToKeplerianElementConversionBackAndForth\": Element [0, 0] not within expected tolerance (delta 1.136868e-11): expected 158.589341, was 158.589341, tolerance 5.000000e-14 .\r\n``\r\n#### test_MeanToEccentricAnomalyConversion \r\n``\r\nAssertion failed: (min_arg < max_arg), function uniform_real_distribution, file /usr/local/include/boost/random/uniform_real_distribution.hpp, line 159.\r\nunknown location:0: fatal error: in \"test_mean_to_eccentric_anomaly_conversion/test_convertMeanAnomalyToEccentricAnomaly_nearParabolic_random_double\": signal: SIGABRT (application abort requested)\r\ntudat/Tudat/Astrodynamics/BasicAstrodynamics/UnitTests/unitTestConvertMeanAnomalyToEccentricAnomaly.cpp:416: last checkpoint: \"test_convertMeanAnomalyToEccentricAnomaly_nearParabolic_random_double\" entry.\r\n``\r\n#### test_MeanToHyperbolicEccentricAnomalyConversion \r\n``\r\nAssertion failed: (min_arg < max_arg), function uniform_real_distribution, file /usr/local/include/boost/random/uniform_real_distribution.hpp, line 159.\r\nunknown location:0: fatal error: in \"test_mean_to_hyperbolic_eccentric_anomaly_conversion/test_convertMeanAnomalyToEccentricAnomaly_nearParabolic_random_double\": signal: SIGABRT (application abort requested)\r\ntudat/Tudat/Astrodynamics/BasicAstrodynamics/UnitTests/unitTestConvertMeanAnomalyToHyperbolicEccentricAnomaly.cpp:367: last checkpoint: \"test_convertMeanAnomalyToEccentricAnomaly_nearParabolic_random_double\" entry.\r\n``\r\n"},"comment":{"url":"https://api.github.com/repos/Tudat/tudat/issues/comments/178507331","html_url":"https://github.com/Tudat/tudat/issues/13#issuecomment-178507331","issue_url":"https://api.github.com/repos/Tudat/tudat/issues/13","id":178507331,"user":{"login":"kartikkumar","id":3645858,"avatar_url":"https://avatars.githubusercontent.com/u/3645858?v=3","gravatar_id":"","url":"https://api.github.com/users/kartikkumar","html_url":"https://github.com/kartikkumar","followers_url":"https://api.github.com/users/kartikkumar/followers","following_url":"https://api.github.com/users/kartikkumar/following{/other_user}","gists_url":"https://api.github.com/users/kartikkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/kartikkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartikkumar/subscriptions","organizations_url":"https://api.github.com/users/kartikkumar/orgs","repos_url":"https://api.github.com/users/kartikkumar/repos","events_url":"https://api.github.com/users/kartikkumar/events{/privacy}","received_events_url":"https://api.github.com/users/kartikkumar/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T10:54:21Z","updated_at":"2016-02-02T10:54:21Z","body":"Hi Dominic,\r\n\r\nYea I'm using Boost 1.60. Looks like the Random library in Boost has breaking changes? \r\n\r\nThe code otherwise seems to compile fine on my Mac, which is great, because there were some issues compiling with Clang that I didn't have time to work out.\r\n\r\nThe orbital elements conversion test is really weird, as the tolerance is set to 10^-14 and the test is failing with `delta 1.136868e-11`. Not sure what's going on there."}}