From: Daniel Arndt Date: Fri, 2 Feb 2018 12:33:34 +0000 (+0100) Subject: static_cast in lapack_full_matrix.h X-Git-Tag: v9.0.0-rc1~479^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=527544fed0b250f165674ea225b21f0eafc6e27d;p=dealii.git static_cast in lapack_full_matrix.h --- 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::size_type LAPACKFullMatrix::m () const { - return this->n_rows (); + return static_cast(this->n_rows ()); } template @@ -891,7 +891,7 @@ inline typename LAPACKFullMatrix::size_type LAPACKFullMatrix::n () const { - return this->n_cols (); + return static_cast(this->n_cols ()); } template