Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-09 11:57:43


Author: johnmaddock
Date: 2007-11-09 11:57:42 EST (Fri, 09 Nov 2007)
New Revision: 40969
URL: http://svn.boost.org/trac/boost/changeset/40969

Log:
Added needed macro suppression to use of isfinite.
Text files modified:
   trunk/boost/math/tools/test.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/tools/test.hpp
==============================================================================
--- trunk/boost/math/tools/test.hpp (original)
+++ trunk/boost/math/tools/test.hpp 2007-11-09 11:57:42 EST (Fri, 09 Nov 2007)
@@ -213,7 +213,7 @@
          std::cout << std::endl;
       }
 #endif
- if(!boost::math::isfinite(point) && boost::math::isfinite(expected))
+ if(!(boost::math::isfinite)(point) && (boost::math::isfinite)(expected))
       {
          std::cout << "CAUTION: Found non-finite result, when a finite value was expected at entry " << i << "\n";
          std::cout << "Found: " << point << " Expected " << expected << " Error: " << err << std::endl;


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