Commit 5c58d1f0 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Merge tag 'v4.5.0'

Release of version 4.5.0.
parents 135edcb3 ea7308c9
Pipeline #4206 passed with stage
in 36 minutes and 22 seconds
......@@ -102,7 +102,9 @@ namespace hpp {
IntervalValidation (const IntervalValidation& other) :
tolerance_(other.tolerance_), refine_(true)
{
assert (tolerance_ > 0);
if (tolerance_ < 0) {
throw std::runtime_error ("tolerance should be non-negative.");
}
}
private:
......
......@@ -240,7 +240,7 @@ BOOST_AUTO_TEST_CASE (continuous_validation_straight)
}
}
bpt::ptime t1 = bpt::microsec_clock::local_time();
BOOST_MESSAGE ("Total time (nthreads " << Nthreads << "): " << (t1-t0).total_milliseconds() << "ms");
BOOST_TEST_MESSAGE ("Total time (nthreads " << Nthreads << "): " << (t1-t0).total_milliseconds() << "ms");
// delete problem
}
......@@ -370,7 +370,7 @@ template <typename SplineSteeringMethod> void test_spline_steering_method ()
}
}
bpt::ptime t1 = bpt::microsec_clock::local_time();
BOOST_MESSAGE ("Total time (nthreads " << Nthreads << "): " << (t1-t0).total_milliseconds() << "ms");
BOOST_TEST_MESSAGE ("Total time (nthreads " << Nthreads << "): " << (t1-t0).total_milliseconds() << "ms");
// delete problem
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment