Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 41e1c9c4 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Fix segfault in spmNorm

parent 05a94928
No related branches found
No related tags found
No related merge requests found
...@@ -334,7 +334,7 @@ double ...@@ -334,7 +334,7 @@ double
spmNorm( int ntype, spmNorm( int ntype,
const pastix_spm_t *spm ) const pastix_spm_t *spm )
{ {
pastix_spm_t *spmtmp; pastix_spm_t *spmtmp = (pastix_spm_t*)spm;
double norm = -1.; double norm = -1.;
if ( spm->dof != 1 ) { if ( spm->dof != 1 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment