From b1a70ae173b918c55a3e471fe1b94f694a6f40cd Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 23 Nov 2017 20:12:16 +0100
Subject: [PATCH] Rename symmetry to mtxtype to match python wrapper

---
 spm.c | 2 +-
 spm.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/spm.c b/spm.c
index 4236d87f..1a662a70 100644
--- a/spm.c
+++ b/spm.c
@@ -263,7 +263,7 @@ spmUpdateComputedFields( pastix_spm_t *spm )
  *
  *******************************************************************************/
 pastix_spm_t *
-spmNew( pastix_symmetry_t  mtxtype,
+spmNew( pastix_mtxtype_t   mtxtype,
         pastix_coeftype_t  flttype,
         pastix_fmttype_t   fmttype,
         pastix_int_t       n,
diff --git a/spm.h b/spm.h
index 88fcc674..d763b921 100644
--- a/spm.h
+++ b/spm.h
@@ -42,7 +42,7 @@
  *
  */
 typedef struct pastix_spm_s {
-    pastix_symmetry_t mtxtype; /**< Matrix structure: PastixGeneral, PastixSymmetric
+    pastix_mtxtype_t  mtxtype; /**< Matrix structure: PastixGeneral, PastixSymmetric
                                     or PastixHermitian.                                            */
     pastix_coeftype_t flttype; /**< avals datatype: PastixPattern, PastixFloat, PastixDouble,
                                     PastixComplex32 or PastixComplex64                             */
@@ -75,7 +75,7 @@ typedef struct pastix_spm_s {
  * @name SPM basic subroutines
  * @{
  */
-pastix_spm_t *spmNew(  pastix_symmetry_t  mtxtype,
+pastix_spm_t *spmNew(  pastix_mtxtype_t   mtxtype,
                        pastix_coeftype_t  flttype,
                        pastix_fmttype_t   fmttype,
                        pastix_int_t       n,
-- 
GitLab