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

guarding agains redefinition of BOOST_UBLAS_USE_ET

svn path=/trunk/boost/boost/numeric/ublas/; revision=22666
This commit is contained in:
Toon Knapen
2004-04-19 07:26:27 +00:00
parent ad80bb679d
commit 7322d9bafa

View File

@@ -337,7 +337,9 @@ namespace std {
#define BOOST_UBLAS_USE_FAST_SAME
// Use expression templates.
#ifndef BOOST_UBLAS_USE_ET
#define BOOST_UBLAS_USE_ET
#endif
// Disable performance options in debug mode
#else
@@ -352,8 +354,10 @@ namespace std {
#ifdef BOOST_MSVC
// Use expression templates (otherwise we get many ICE's)
#ifndef BOOST_UBLAS_USE_ET
#define BOOST_UBLAS_USE_ET
#endif
#endif
// Bounds check
#define BOOST_UBLAS_BOUNDS_CHECK