Verified Commit e8ed0ad5 authored by Johannes Pfeifer 's avatar Johannes Pfeifer Committed by Sébastien Villemot

prior.m: fix missing function input

Prevents crashes in "prior moments"

(cherry picked from commit 16f65a2f)
parent 19141e8f
......@@ -143,7 +143,7 @@ if ismember('moments', varargin) % Prior simulations (2nd order moments).
end
if info
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);
skipline()
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