diff --git a/matlab/ols/parse_ols_style_equation.m b/matlab/ols/parse_ols_style_equation.m index 56292854d..e7652c80e 100644 --- a/matlab/ols/parse_ols_style_equation.m +++ b/matlab/ols/parse_ols_style_equation.m @@ -196,7 +196,7 @@ function parsing_error(msg, line, node) if nargin == 3 && ~isempty(node) error('\nERROR encountered parsing `%s` in equation on line %d: %s\n', printNode(node), line, msg); else - error('\nERROR encountered parsing of equation on line %d: %s\n', num2str(line), msg) + error('\nERROR encountered parsing of equation on line %d: %s\n', line, msg) end end