Warn if rshunt without XSPICE selected

This commit is contained in:
Holger Vogt 2026-07-17 10:42:39 +02:00
parent f8c1c8477a
commit ca2d994368
1 changed files with 4 additions and 0 deletions

View File

@ -250,6 +250,10 @@ CKTsetOpt(CKTcircuit *ckt, JOB *anal, int opt, IFvalue *val)
fprintf(stderr, "WARNING - Rshunt option too small. Ignored.\n");
}
break;
#else
case OPT_ENH_RSHUNT:
fprintf(stderr, "WARNING - Option Rshunt available only with XSPICE enabled.\n");
break;
#endif
/* gtri - end - wbk - add new options */
default: