Bytecode: fix indentation in output of print_bytecode_{static,dynamic}_model commands

kalman-mex
Sébastien Villemot 2023-10-10 17:41:38 -04:00
parent 9525dbe3a8
commit dcdbd85b10
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 2 additions and 2 deletions

View File

@ -2248,7 +2248,7 @@ Evaluate::printCurrentBlock()
{
string s;
tie(s, it_code) = print_expression(it_code);
if (s == "if (evaluate)" || s == "else")
if (s == "if (~evaluate)" || s == "else")
space = false;
if (s.length() > 0)
{
@ -2258,7 +2258,7 @@ Evaluate::printCurrentBlock()
mexPrintf("%s\n", s.c_str());
mexEvalString("drawnow;");
}
if (s == "if (evaluate)" || s == "else")
if (s == "if (~evaluate)" || s == "else")
space = true;
}
}