diff options
Diffstat (limited to 'libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc')
-rw-r--r-- | libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc index 114a5ee..b9f4f73 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/cons/range.cc @@ -38,8 +38,8 @@ test01() VERIFY( interval[0] == 0.0 ); VERIFY( interval[5] == 5.0 ); VERIFY( density.size() == 5 ); - VERIFY( density[0] == 0.5 / 6.0 ); - VERIFY( density[2] == 2.5 / 6.0 ); + VERIFY( density[0] == double(0.5 / 6.0) ); + VERIFY( density[2] == double(2.5 / 6.0) ); } int main() |