]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix failing SCALAPCK tests
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 9 Dec 2018 17:22:06 +0000 (18:22 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 9 Dec 2018 17:22:06 +0000 (18:22 +0100)
source/lac/scalapack.cc

index 3b5ebf051ace06b40408b814a75161fa61f60b07..273abfc8b0e6d53ee666fc6d3e2925cba57edda0 100644 (file)
@@ -2617,8 +2617,8 @@ ScaLAPACKMatrix<NumberType>::save(
       chunks_size_.first  = n_rows;
       chunks_size_.second = 1;
     }
-  AssertIndexRange(chunks_size_.first + 1, n_rows);
-  AssertIndexRange(chunks_size_.second + 1, n_columns);
+  AssertIndexRange(chunks_size_.first - 1, n_rows);
+  AssertIndexRange(chunks_size_.second - 1, n_columns);
 
 #    ifdef H5_HAVE_PARALLEL
   // implementation for configurations equipped with a parallel file system

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.