Browse Source

if step size in optran command is set to 0,

optran is deselected.
pre-master-46
Holger Vogt 5 years ago
parent
commit
36dd77f63e
  1. 4
      src/spicelib/analysis/optran.c

4
src/spicelib/analysis/optran.c

@ -166,6 +166,10 @@ void com_optran(wordlist* wl) {
fprintf(stderr, "Error: Ramp time larger than final time.\n");
goto bugquit;
}
/* optran deselected by setting opstepsize to 0 */
if (opstepsize == 0)
nooptran = TRUE;
dataset = TRUE;
if (errno == 0)
errno = saved;

Loading…
Cancel
Save