properly abort for invalid OSDI paramters

This commit is contained in:
Pascal Kuthe 2023-01-16 16:58:00 +01:00
parent 49b7cb85db
commit 9f5d1c34f1
No known key found for this signature in database
GPG Key ID: D715E8655AE166A6
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