File indexing completed on 2025-04-27 08:50:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_NUMERIC_ODEINT_TOOLS_ASSERT_HPP
0011 #define BOOST_NUMERIC_ODEINT_TOOLS_ASSERT_HPP
0012
0013 #include <boost/numeric/odeint/tools/is_standalone.hpp>
0014
0015 #ifndef BOOST_NUMERIC_ODEINT_STANDALONE
0016
0017 #include <boost/assert.hpp>
0018
0019 #define BOOST_NUMERIC_ODEINT_ASSERT(expr) BOOST_ASSERT(expr)
0020 #define BOOST_NUMERIC_ODEINT_ASSERT_MSG(expr, msg) BOOST_ASSERT_MSG(expr, msg)
0021
0022 #else
0023
0024 #include <cassert>
0025 #define BOOST_NUMERIC_ODEINT_ASSERT(expr) assert(expr)
0026 #define BOOST_NUMERIC_ODEINT_ASSERT_MSG(expr, msg) assert((expr)&&(msg))
0027
0028 #endif
0029
0030 #endif