From b362e7d0e53459c8663d7c98819424d378012df8 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Tue, 17 Oct 2017 18:08:28 +0200 Subject: [PATCH] [MaL] EigenVector: cast size to IndexType. --- MathLib/LinAlg/Eigen/EigenVector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MathLib/LinAlg/Eigen/EigenVector.h b/MathLib/LinAlg/Eigen/EigenVector.h index ffe5221060d..570356ed190 100644 --- a/MathLib/LinAlg/Eigen/EigenVector.h +++ b/MathLib/LinAlg/Eigen/EigenVector.h @@ -43,7 +43,7 @@ public: EigenVector(EigenVector const& src) = default; /// return a vector length - IndexType size() const { return _vec.size(); } + IndexType size() const { return static_cast<IndexType>(_vec.size()); } /// return a start index of the active data range IndexType getRangeBegin() const { return 0;} -- GitLab