mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-08 23:22:25 +00:00
remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
svn path=/trunk/boost/boost/numeric/ublas/; revision=22394
This commit is contained in:
@@ -16,11 +16,12 @@
|
||||
|
||||
#include <boost/numeric/ublas/vector.hpp>
|
||||
#include <boost/numeric/ublas/io.hpp>
|
||||
#include <boost/minmax.hpp>
|
||||
|
||||
int main () {
|
||||
using namespace boost::numeric::ublas;
|
||||
vector<double> v1 (3), v2 (3);
|
||||
for (unsigned i = 0; i < std::min (v1.size (), v2.size ()); ++ i)
|
||||
for (unsigned i = 0; i < std_min (v1.size (), v2.size ()); ++ i)
|
||||
v1 (i) = v2 (i) = i;
|
||||
|
||||
std::cout << v1 + v2 << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user