From 527544fed0b250f165674ea225b21f0eafc6e27d Mon Sep 17 00:00:00 2001 From: Daniel Arndt <daniel.arndt@iwr.uni-heidelberg.de> Date: Fri, 2 Feb 2018 13:33:34 +0100 Subject: [PATCH] static_cast in lapack_full_matrix.h --- include/deal.II/lac/lapack_full_matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/lapack_full_matrix.h b/include/deal.II/lac/lapack_full_matrix.h index a2e810fc57..a629d5d9a3 100644 --- a/include/deal.II/lac/lapack_full_matrix.h +++ b/include/deal.II/lac/lapack_full_matrix.h @@ -883,7 +883,7 @@ inline typename LAPACKFullMatrix<number>::size_type LAPACKFullMatrix<number>::m () const { - return this->n_rows (); + return static_cast<size_type>(this->n_rows ()); } template <typename number> @@ -891,7 +891,7 @@ inline typename LAPACKFullMatrix<number>::size_type LAPACKFullMatrix<number>::n () const { - return this->n_cols (); + return static_cast<size_type>(this->n_cols ()); } template <typename number> -- 2.39.5