Merge branch 'display_static_residuals' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2176kalman-mex
commit
db331c53d4
|
@ -32,7 +32,7 @@ function z = display_static_residuals(M_, options_, oo_,options_resid_)
|
|||
% You should have received a copy of the GNU General Public License
|
||||
% along with Dynare. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
non_zero = (isfield(options_resid_, 'non_zero') && options_resid_.non_zero);
|
||||
non_zero = (nargin > 3 && isfield(options_resid_, 'non_zero') && options_resid_.non_zero);
|
||||
|
||||
tags = M_.equations_tags;
|
||||
istag = 0;
|
||||
|
|
|
@ -86,7 +86,7 @@ if info(1) == 0
|
|||
else
|
||||
if ~options_.noprint
|
||||
if ~isempty(oo_.steady_state)
|
||||
display_static_residuals;
|
||||
display_static_residuals(M_, options_, oo_);
|
||||
else
|
||||
skipline()
|
||||
disp('Residuals of the static equations cannot be computed because the steady state routine returned an empty vector.')
|
||||
|
|
Loading…
Reference in New Issue