diff options
Diffstat (limited to 'test/bandmatrix.cpp')
-rw-r--r-- | test/bandmatrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bandmatrix.cpp b/test/bandmatrix.cpp index 84fc387e0..996886f43 100644 --- a/test/bandmatrix.cpp +++ b/test/bandmatrix.cpp @@ -61,7 +61,7 @@ template<typename MatrixType> void bandmatrix(const MatrixType& _m) m.col(i).setConstant(static_cast<RealScalar>(i+1)); dm1.col(i).setConstant(static_cast<RealScalar>(i+1)); } - Index d = std::min(rows,cols); + Index d = (std::min)(rows,cols); Index a = std::max<Index>(0,cols-d-supers); Index b = std::max<Index>(0,rows-d-subs); if(a>0) dm1.block(0,d+supers,rows,a).setZero(); |