mirror of
https://github.com/boostorg/odeint.git
synced 2025-05-09 23:24:01 +00:00
Adjust num_of_steps_expected for Apple ARM architecture
This commit is contained in:
parent
68950d8df2
commit
afe5834aa8
@ -68,5 +68,11 @@ BOOST_AUTO_TEST_CASE( regression_189 )
|
||||
stiff_system() , x2 , 0.0 , 50.0 , 0.01 ,
|
||||
std::cout << phoenix::arg_names::arg2 << " " << phoenix::arg_names::arg1[0] << "\n" );
|
||||
num_of_steps_expected = 1531;
|
||||
|
||||
// Apple ARM arch takes one additional step
|
||||
#if defined(__aarch64__) && defined(__APPLE__)
|
||||
++num_of_steps_expected;
|
||||
#endif
|
||||
|
||||
BOOST_CHECK_EQUAL( num_of_steps2 , num_of_steps_expected );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user