]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Correct return type of n_global_rows for 32 bit integers.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 6 Aug 2014 06:30:42 +0000 (08:30 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 6 Aug 2014 06:30:42 +0000 (08:30 +0200)
source/lac/trilinos_precondition.cc

index 17451985dd75fdd6184cca5e0199e73348327cd0..110e39a8b3fe4382a38ca88b36e8ff7ca978d79a 100644 (file)
@@ -37,7 +37,7 @@ namespace TrilinosWrappers
   namespace
   {
 #ifndef DEAL_II_WITH_64BIT_INDICES
-    long long int n_global_rows (const Epetra_RowMatrix &matrix)
+    int n_global_rows (const Epetra_RowMatrix &matrix)
     {
       return matrix.NumGlobalRows();
     }

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.