From 8195797e732486902d41da389dcebea0bf09eb36 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Fri, 8 Dec 2017 00:12:19 +0100
Subject: [PATCH] Computed fields needs to be updated after correcting the
 matrix

---
 spm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spm.c b/spm.c
index 9cd5cae6..95562345 100644
--- a/spm.c
+++ b/spm.c
@@ -668,8 +668,6 @@ spmSymmetrize( pastix_spm_t *spm )
  *
  * @param[inout] spm
  *          The pointer to the sparse matrix structure to check, and correct.
- *          On exit, the subarrays related to each column might have been sorted
- *          by ascending order.
  *
  *******************************************************************************
  *
@@ -719,6 +717,8 @@ spmCheckAndCorrect( pastix_spm_t *spm )
         //spmToLower( newspm );
     }
 
+    spmUpdateComputedFields( newspm );
+
     /*
      * Check if we return the new one, or the original one because no changes
      * have been made
-- 
GitLab