]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Get rid of a C-style cast. 2263/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 28 Feb 2016 21:29:12 +0000 (16:29 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 28 Feb 2016 21:29:12 +0000 (16:29 -0500)
The rest of this file uses static_cast.

source/lac/lapack_full_matrix.cc

index 52faaca1503444c99fb64ef45791197d98e71ab6..0a2440dcd793ef3a912ae00bcc986221e3118cf0 100644 (file)
@@ -903,7 +903,7 @@ LAPACKFullMatrix<number>::compute_generalized_eigenvalues_symmetric (
   lwork = boost::math::iround(work[0]);
 
   // resize workspace array
-  work.resize((size_type) lwork);
+  work.resize(static_cast<size_type>(lwork));
 
   // Finally compute the generalized eigenvalues.
   sygv (&itype, jobz, uplo, &nn, values_A, &nn,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.