if step size in optran command is set to 0,

optran is deselected.
This commit is contained in:
Holger Vogt 2021-10-10 11:40:53 +02:00
parent 1eb15de584
commit 36dd77f63e
1 changed files with 4 additions and 0 deletions

View File

@ -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;