From 4ac4fdb2f0e1bb51671810ae5d54bd2fe4a2a070 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan.bastani@ens.fr>
Date: Mon, 30 Jan 2012 18:03:44 +0100
Subject: [PATCH] matlab: add missing error code

---
 matlab/print_info.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/matlab/print_info.m b/matlab/print_info.m
index f87d712efa..d6e0a0c877 100644
--- a/matlab/print_info.m
+++ b/matlab/print_info.m
@@ -75,6 +75,8 @@ if ~noprint
         error('Covariance matrix of shocks is not positive definite')
       case 44 %DsgeLikelihood_hh / dsge_likelihood
         error('The covariance matrix of the measurement errors is not positive definite.');
+      case 45 %DsgeLikelihood_hh / dsge_likelihood
+        error('Likelihood is not a number (NaN) or a complex number');
       case 51
         error('You are estimating a DSGE-VAR model, but the value of the dsge prior weight is too low!')
       case 52 %DsgeVarLikelihood
-- 
GitLab