From: David Wells Date: Sun, 28 Feb 2016 21:29:12 +0000 (-0500) Subject: Get rid of a C-style cast. X-Git-Tag: v8.5.0-rc1~1268^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2263%2Fhead;p=dealii.git Get rid of a C-style cast. The rest of this file uses static_cast. --- diff --git a/source/lac/lapack_full_matrix.cc b/source/lac/lapack_full_matrix.cc index 52faaca150..0a2440dcd7 100644 --- a/source/lac/lapack_full_matrix.cc +++ b/source/lac/lapack_full_matrix.cc @@ -903,7 +903,7 @@ LAPACKFullMatrix::compute_generalized_eigenvalues_symmetric ( lwork = boost::math::iround(work[0]); // resize workspace array - work.resize((size_type) lwork); + work.resize(static_cast(lwork)); // Finally compute the generalized eigenvalues. sygv (&itype, jobz, uplo, &nn, values_A, &nn,