diff --git a/z_spm_genrhs.c b/z_spm_genrhs.c
index f0f6ee1986dbf81fe2e9f1f8a74e499bb503894e..dc099b0e6feae731fa52cf98260f4bca981c9c38 100644
--- a/z_spm_genrhs.c
+++ b/z_spm_genrhs.c
@@ -374,7 +374,9 @@ z_spmCheckAxb( int nrhs,
      */
     if ( x0 != NULL ) {
         normX0 = LAPACKE_zlange( LAPACK_COL_MAJOR, 'I', spm->n, nrhs, x0, ldx0 );
-        core_zgeadd( PastixNoTrans, spm->n, nrhs, -1., x, ldx, x0, ldx0 );
+        core_zgeadd( PastixNoTrans, spm->n, nrhs,
+                     -1., x,  ldx,
+                      1., x0, ldx0 );
         normR = LAPACKE_zlange( LAPACK_COL_MAJOR, 'I', spm->n, nrhs, x0, ldx0 );
 
         forward = normR / normX0;