Skip to content
Snippets Groups Projects
Verified Commit e8ed0ad5 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

prior.m: fix missing function input

Prevents crashes in "prior moments"

(cherry picked from commit 16f65a2f)
parent 19141e8f
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment