properly abort for invalid OSDI paramters

This commit is contained in:
Pascal Kuthe 2023-01-16 16:58:00 +01:00 committed by Holger Vogt
parent 738e351f59
commit e88b8ffb74
1 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ int OSDIsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
free(node_ids);
return (OK);
return res;
}
/* OSDI does not differentiate between setup and temperature update so we just
@ -363,7 +363,7 @@ extern int OSDItemp(GENmodel *inModel, CKTcircuit *ckt) {
// TODO check that there are no changes in node collapse?
}
}
return (OK);
return res;
}
/* delete internal nodes