mirror of
https://github.com/boostorg/odeint.git
synced 2025-05-09 23:24:01 +00:00
Fix compiler warnings, activate parallel CI build
This commit is contained in:
parent
a452f6e816
commit
ff3fd556cb
@ -42,4 +42,4 @@ before_install:
|
||||
- $CC --version
|
||||
|
||||
script:
|
||||
- $BOOST_ROOT/b2 toolset=$CC cxxflags='$CXXSTD'
|
||||
- $BOOST_ROOT/b2 toolset=$CC cxxflags='$CXXSTD' -j4
|
2
Jamroot
2
Jamroot
@ -15,7 +15,7 @@ project
|
||||
: requirements
|
||||
<include>include&&$(BOOST_ROOT)
|
||||
<toolset>gcc:<cxxflags>"-Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-local-typedefs"
|
||||
<toolset>clang:<cxxflags>"-Wall -Wextra -Wno-unused-function -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedef"
|
||||
<toolset>clang:<cxxflags>"-Wall -Wextra -Wno-unknown-warning-option -Wno-unused-function -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedef"
|
||||
<toolset>intel:<cxxflags>"-ipo"
|
||||
;
|
||||
|
||||
|
@ -59,13 +59,14 @@ BOOST_AUTO_TEST_CASE( regression_189 )
|
||||
x , 0.0 , 50.0 , 0.01 ,
|
||||
std::cout << phoenix::arg_names::arg2 << " " << phoenix::arg_names::arg1[0] << "\n" );
|
||||
// regression: number of steps should be 74
|
||||
BOOST_CHECK_EQUAL( num_of_steps , 74 );
|
||||
size_t num_of_steps_expected = 74;
|
||||
BOOST_CHECK_EQUAL( num_of_steps , num_of_steps_expected );
|
||||
|
||||
vector_type x2( 2 , 1.0 );
|
||||
|
||||
size_t num_of_steps2 = integrate_const( make_dense_output< runge_kutta_dopri5< vector_type > >( 1.0e-6 , 1.0e-6 ) ,
|
||||
stiff_system() , x2 , 0.0 , 50.0 , 0.01 ,
|
||||
std::cout << phoenix::arg_names::arg2 << " " << phoenix::arg_names::arg1[0] << "\n" );
|
||||
|
||||
BOOST_CHECK_EQUAL( num_of_steps2 , 1531 );
|
||||
num_of_steps_expected = 1531;
|
||||
BOOST_CHECK_EQUAL( num_of_steps2 , num_of_steps_expected );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user