Fixed namespace of isfinite, etc - in std

release/4.3a0
Richard Roberts 2012-06-22 15:24:49 +00:00
parent 700dba5e8e
commit c95cd18ec4
1 changed files with 7 additions and 3 deletions

View File

@ -73,10 +73,14 @@ namespace gtsam {
#ifdef _MSC_VER
// Define some common g++ functions and macros that MSVC does not have
#include <boost/math/special_functions/fpclassify.hpp>
using boost::math::isfinite;
using boost::math::isnan;
using boost::math::isinf;
namespace std {
using boost::math::isfinite;
using boost::math::isnan;
using boost::math::isinf;
}
#include <boost/math/constants/constants.hpp>
#ifndef M_PI