added std namespace for max function on line 281

This commit is contained in:
nico 2021-08-31 21:40:01 +10:00
parent 4e3f08e134
commit fea0a33575
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ public:
}
ScalarType maxA=0;
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
for (size_t i=0;i<m.vert.size();i++)