2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-22 03:42:19 +00:00

Work around in this case pointless min/max rules for Boost

This commit is contained in:
Michael Stevens
2005-05-08 16:54:12 +00:00
parent b00e927014
commit a778933b3b
10 changed files with 12 additions and 12 deletions

View File

@@ -20,7 +20,7 @@
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 << outer_prod (v1, v2) << std::endl;