From: Daniel Arndt Date: Sun, 9 Dec 2018 17:22:06 +0000 (+0100) Subject: Fix failing SCALAPCK tests X-Git-Tag: v9.1.0-rc1~496^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e299a011b605180f721385a6f4d5614ed5756320;p=dealii.git Fix failing SCALAPCK tests --- diff --git a/source/lac/scalapack.cc b/source/lac/scalapack.cc index 3b5ebf051a..273abfc8b0 100644 --- a/source/lac/scalapack.cc +++ b/source/lac/scalapack.cc @@ -2617,8 +2617,8 @@ ScaLAPACKMatrix::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