From e299a011b605180f721385a6f4d5614ed5756320 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 9 Dec 2018 18:22:06 +0100 Subject: [PATCH] Fix failing SCALAPCK tests --- source/lac/scalapack.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5