]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
more fixes for Trilinos 11.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Oct 2012 21:30:26 +0000 (21:30 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Oct 2012 21:30:26 +0000 (21:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@27171 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_vector.h

index a2891c18fd212cad6bdd7918003a0adf1c351df8..4df3e86c6b6cea13d5ce375f931edb517aa42534 100644 (file)
@@ -537,7 +537,7 @@ namespace TrilinosWrappers
       if (size() != v.size())
         {
           vector.reset (new Epetra_FEVector(Epetra_Map
-                                            (v.size(), 0,
+                                            (static_cast<int>(v.size()), 0,
 #ifdef DEAL_II_COMPILER_SUPPORTS_MPI
                                              Epetra_MpiComm(MPI_COMM_SELF)
 #else

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.