Added: Error: Pole/zero analysis is not (yet) supported with 'option KLU'.

Use 'option sparse' instead.
This commit is contained in:
Brian Taylor 2024-10-04 17:06:54 -07:00 committed by Holger Vogt
parent 5b3b48b913
commit 2232269217
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,14 @@ PZan(CKTcircuit *ckt, int reset)
NG_IGNORE(reset);
#ifdef KLU
if (ckt->CKTkluMODE) {
fprintf(stderr, "Error: Pole/zero analysis is not (yet) supported with 'option KLU'.\n");
fprintf(stderr, " Use 'option sparse' instead.\n");
return(E_UNSUPP);
}
#endif
error = PZinit(ckt);
if (error != OK) return error;