]> https://gitweb.dealii.org/ - dealii.git/commitdiff
parpack: fix compiler warning 2932/head
authorDenis Davydov <davydden@gmail.com>
Sun, 7 Aug 2016 21:17:03 +0000 (23:17 +0200)
committerDenis Davydov <davydden@gmail.com>
Sun, 7 Aug 2016 22:36:22 +0000 (00:36 +0200)
include/deal.II/lac/parpack_solver.h

index ba1a80db232f1d519f27741b6ae9e9e38ad066b3..9a276aa9ee00a42c5899712ab9544bcbf911fdbd 100644 (file)
@@ -913,10 +913,10 @@ void PArpackSolver<VectorType>::solve
           AssertThrow (false, PArpackExcInfoPdneupd(info));
         }
 
-      for (size_type i=0; i<nev; ++i)
+      for (int i=0; i<nev; ++i)
         {
           eigenvectors[i] = 0.0;
-          Assert (i*nloc + nloc <= v.size(), dealii::ExcInternalError() );
+          Assert (i*nloc + nloc <= (int)v.size(), dealii::ExcInternalError() );
 
           eigenvectors[i].add (nloc,
                                &local_indices[0],

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.