From 8580d1d74581ae56e3acc05be09cc50855a3b55e Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 2 Dec 2016 12:36:54 +0000
Subject: [PATCH] add type!

---
 compute/pzpotrf.c   | 2 +-
 compute/pzpotrimm.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compute/pzpotrf.c b/compute/pzpotrf.c
index bb26f2578..e524b52f0 100644
--- a/compute/pzpotrf.c
+++ b/compute/pzpotrf.c
@@ -60,7 +60,7 @@ void morse_pzpotrf(MORSE_enum uplo, MORSE_desc_t *A,
 #if !defined(CHAMELEON_SIMULATION)
         int nb = magma_get_zpotrf_nb(A->nb);
 #else
-        nb = A->nb;
+        int nb = A->nb;
 #endif
         ws_host = sizeof(MORSE_Complex64_t)*nb*nb;
     }
diff --git a/compute/pzpotrimm.c b/compute/pzpotrimm.c
index 7af7a300d..d388cb3de 100644
--- a/compute/pzpotrimm.c
+++ b/compute/pzpotrimm.c
@@ -62,7 +62,7 @@ void morse_pzpotrimm(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_de
 #if !defined(CHAMELEON_SIMULATION)
         int nb = magma_get_zpotrf_nb(A->nb);
 #else
-        nb = A->nb;
+        int nb = A->nb;
 #endif
         RUNTIME_options_ws_alloc( &options, nb*nb, 0 );
     }
-- 
GitLab