All paths return a value

This commit is contained in:
Holger Vogt 2026-04-24 19:52:22 +02:00
parent 665a4944eb
commit 24240d0e9a
1 changed files with 3 additions and 0 deletions

View File

@ -614,6 +614,7 @@ SMPluFac (SMPmatrix *Matrix, double PivTol, double Gmin)
fprintf (stderr, "Error (ReFactor): KLUnumeric object is NULL. A problem occurred\n") ;
return 1 ;
}
return 1;
} else {
return 0 ;
}
@ -682,6 +683,7 @@ SMPluFacKLUforCIDER (SMPmatrix *Matrix)
fprintf (stderr, "Error (ReFactor for CIDER): KLUnumeric object is NULL. A problem occurred\n") ;
return 1 ;
}
return 1;
} else {
return 0 ;
}
@ -871,6 +873,7 @@ SMPreorderKLUforCIDER (SMPmatrix *Matrix)
fprintf (stderr, "Error (Factor for CIDER): KLUsymbolic object is NULL. A problem occurred\n") ;
return 1 ;
}
return 1;
} else {
return 0 ;
}