Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63584 - sandbox/geometry/libs/geometry/test/algorithms
From: barend.gehrels_at_[hidden]
Date: 2010-07-04 06:29:09


Author: barendgehrels
Date: 2010-07-04 06:29:08 EDT (Sun, 04 Jul 2010)
New Revision: 63584
URL: http://svn.boost.org/trac/boost/changeset/63584

Log:
Fixed for gcc
Text files modified:
   sandbox/geometry/libs/geometry/test/algorithms/distance.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/geometry/libs/geometry/test/algorithms/distance.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/test/algorithms/distance.cpp (original)
+++ sandbox/geometry/libs/geometry/test/algorithms/distance.cpp 2010-07-04 06:29:08 EDT (Sun, 04 Jul 2010)
@@ -63,7 +63,7 @@
         comparable_strategy_type comparable_strategy = services::get_comparable<strategy_type>::apply(strategy);
         distance_type comparable = services::result_from_distance<comparable_strategy_type>::apply(comparable_strategy, 3);
 
- BOOST_CHECK_CLOSE(comparable, 9.000, 0.001);
+ BOOST_CHECK_CLOSE(double(comparable), 9.000, 0.001);
 
         // COMPILATION TESTS (probably obsolete...)
         if (comparable == dr12) {};


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk