From 5ea63ee5bccdd5e47cba1efaca4d45e97b8a8365 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Mon, 3 Jul 2017 11:40:56 +0200 Subject: [PATCH] Minor --- spm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spm.c b/spm.c index 0a563ba2..36647a9f 100644 --- a/spm.c +++ b/spm.c @@ -918,12 +918,12 @@ spmCopy( const pastix_spm_t *spm ) } if(spm->dofs != NULL) { newspm->dofs = (pastix_int_t*)malloc(dofsize * sizeof(pastix_int_t)); - memcpy( newspm->dofs, spm->dofs, dofsize * sizeof(pastix_int_t)); + memcpy( newspm->dofs, spm->dofs, dofsize * sizeof(pastix_int_t) ); } if(spm->values != NULL) { valsize = valsize * pastix_size_of( spm->flttype ); newspm->values = malloc(valsize); - memcpy( newspm->values, spm->values, valsize); + memcpy( newspm->values, spm->values, valsize ); } return newspm; } -- GitLab