added std namespace for max function on line 281
This commit is contained in:
parent
4e3f08e134
commit
fea0a33575
|
@ -278,7 +278,7 @@ public:
|
||||||
}
|
}
|
||||||
ScalarType maxA=0;
|
ScalarType maxA=0;
|
||||||
for(int i=0;i<m.vn;++i)
|
for(int i=0;i<m.vn;++i)
|
||||||
maxA = max(maxA,h[i]);
|
maxA = std::max(maxA,h[i]);
|
||||||
|
|
||||||
//store the index and the scalar for the sparse matrix
|
//store the index and the scalar for the sparse matrix
|
||||||
for (size_t i=0;i<m.vert.size();i++)
|
for (size_t i=0;i<m.vert.size();i++)
|
||||||
|
|
Loading…
Reference in New Issue