Commit 16f65a2f authored by Johannes Pfeifer 's avatar Johannes Pfeifer

prior.m: fix missing function input

Prevents crashes in "prior moments"
parent b7ef2181
...@@ -143,7 +143,7 @@ if ismember('moments', varargin) % Prior simulations (2nd order moments). ...@@ -143,7 +143,7 @@ if ismember('moments', varargin) % Prior simulations (2nd order moments).
end end
if info if info
skipline() skipline()
message = get_error_message(info); message = get_error_message(info,options_);
fprintf('Cannot solve the model on the prior mode (info = %d, %s)\n', info(1), message); fprintf('Cannot solve the model on the prior mode (info = %d, %s)\n', info(1), message);
skipline() skipline()
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment