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

Provide warning if moments_varendo is not set but conditional_variance_decomposition

(cherry picked from commit de90c5d2)
parent 13329882
Branches
Tags
No related merge requests found
Pipeline #6492 failed
...@@ -310,6 +310,10 @@ if DynareOptions.mh_tune_jscale.status && (DynareOptions.mh_tune_jscale.maxiter< ...@@ -310,6 +310,10 @@ if DynareOptions.mh_tune_jscale.status && (DynareOptions.mh_tune_jscale.maxiter<
warning('You specified mh_tune_jscale, but the maximum number of iterations is smaller than the step size. No update will take place.') warning('You specified mh_tune_jscale, but the maximum number of iterations is smaller than the step size. No update will take place.')
end end
if ~isempty(DynareOptions.conditional_variance_decomposition) && ~DynareOptions.moments_varendo
disp('The conditional_variance_decomposition-option will be ignored. You need to set moments_varendo');
end
function evaluate_expression(expression,M_,oo_) function evaluate_expression(expression,M_,oo_)
% function evaluate_expression(expression,M_,oo_) % function evaluate_expression(expression,M_,oo_)
%evaluates expressions relying on M_ and oo_ having their original names %evaluates expressions relying on M_ and oo_ having their original names
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment