diff --git a/coreblas/compute/core_ztslqt.c b/coreblas/compute/core_ztslqt.c
index da4007d80effcc749f8c5b40aa5d8e2e4f1eab41..315b98702763377fa593a30deb06f521dcf4fa41 100644
--- a/coreblas/compute/core_ztslqt.c
+++ b/coreblas/compute/core_ztslqt.c
@@ -202,7 +202,7 @@ int CORE_ztslqt(int M, int N, int IB,
                 &A2[ii+sb], LDA2,
                 &A2[ii], LDA2,
                 &T[LDT*ii], LDT,
-                WORK, LDA1);
+                WORK, M);
         }
     }
     return CHAMELEON_SUCCESS;