From 67a282f2c7b7f6b1484788acead2570fbe320c77 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Mon, 26 Feb 2018 18:19:01 +0100 Subject: [PATCH] Fix compilation issue in spm --- spm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spm.c b/spm.c index ff7cdbfa..ba93f523 100644 --- a/spm.c +++ b/spm.c @@ -1328,7 +1328,7 @@ spmScalMatrix(double alpha, pastix_spm_t* spm) * The vector to scal of size ( 1 + (n-1) * abs(incx) ), and of type * defined by flt. * - * @param[in] inc + * @param[in] incx * Storage spacing between elements of x. * *******************************************************************************/ @@ -1337,9 +1337,9 @@ spmScalVector( pastix_coeftype_t flt, double alpha, pastix_int_t n, void *x, - pastix_int_t inc ) + pastix_int_t incx ) { - switch(spm->flttype) + switch( flt ) { case PastixPattern: break; -- GitLab