From bb558c25cf06124e87ad61f5a84b301dee4a3e19 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 12 Dec 2014 17:45:24 +0000
Subject: [PATCH] fix tsmqr with workc usage: some gemm are done with T but
 lower parts of the matrix blocks was not initialized to 0

---
 timing/time_zgeqrf_tile.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/timing/time_zgeqrf_tile.c b/timing/time_zgeqrf_tile.c
index b3fdf09aa..fe5b5c79d 100644
--- a/timing/time_zgeqrf_tile.c
+++ b/timing/time_zgeqrf_tile.c
@@ -45,6 +45,7 @@ RunTest(int *iparam, double *dparam, morse_time_t *t_)
 
     /* Allocate Workspace */
     MORSE_Alloc_Workspace_zgels_Tile(M, N, &descT);
+    memset(descT->mat, 0, (descT->llm*descT->lln)*sizeof(MorseComplexDouble));
 
     /* Do the computations */
     START_TIMING();
-- 
GitLab