2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-15 13:32:13 +00:00

Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.

Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library.  With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.

Fixes #2392.

svn path=/trunk/boost/numeric/ublas/; revision=49254
This commit is contained in:
John Maddock
2008-10-10 16:10:00 +00:00
parent 60cb9617f9
commit 011fc2f3d5

View File

@@ -15,7 +15,7 @@
#include <iterator>
#include <complex>
#include <cmath>
#include <boost/config/no_tr1/cmath.hpp>
#include <boost/numeric/ublas/detail/config.hpp>
#include <boost/numeric/ublas/detail/iterator.hpp>