mirror of
https://github.com/boostorg/math.git
synced 2026-01-27 07:02:08 +00:00
Some minor tweaks to support Sun's compiler on Linux.
[SVN r40678]
This commit is contained in:
@@ -81,7 +81,7 @@ template <class RealType>
|
||||
void test_spots(RealType)
|
||||
{
|
||||
// Basic sanity checks
|
||||
RealType tolerance = static_cast<RealType>(std::pow(10., -(4-2))); // 1e-4 (as %)
|
||||
RealType tolerance = 1e-2f; // 1e-4 (as %)
|
||||
// Some tests only pass at 1e-4 because values generated by
|
||||
// http://faculty.vassar.edu/lowry/VassarStats.html
|
||||
// give only 5 or 6 *fixed* places, so small values have fewer digits.
|
||||
|
||||
Reference in New Issue
Block a user