|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-11-18 05:07:14
Author: johnmaddock
Date: 2007-11-18 05:07:14 EST (Sun, 18 Nov 2007)
New Revision: 41193
URL: http://svn.boost.org/trac/boost/changeset/41193
Log:
Ooops: previous commit broke platforms/compilers with no long double support, added workaround as fix.
Text files modified:
trunk/libs/math/test/compile_test/instantiate.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/libs/math/test/compile_test/instantiate.hpp
==============================================================================
--- trunk/libs/math/test/compile_test/instantiate.hpp (original)
+++ trunk/libs/math/test/compile_test/instantiate.hpp 2007-11-18 05:07:14 EST (Sun, 18 Nov 2007)
@@ -393,7 +393,11 @@
short s = 1;
float fr = 0.5F;
double dr = 0.5;
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
long double lr = 0.5L;
+#else
+ double lr = 0.5L;
+#endif
boost::math::tgamma(i);
boost::math::tgamma1pm1(i);
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