From 48f0076b45ce5ffc2d2d4f59fc0e50ac792667f2 Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Wed, 24 Sep 2008 19:58:21 +0000
Subject: [PATCH] 4.0: merged changeset 2103 from trunk (typo fixed in
 DsgeSmoother)

git-svn-id: https://www.dynare.org/svn/dynare/branches/4.0@2107 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 matlab/DsgeSmoother.m | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/matlab/DsgeSmoother.m b/matlab/DsgeSmoother.m
index 5037c67576..7a07d715f5 100644
--- a/matlab/DsgeSmoother.m
+++ b/matlab/DsgeSmoother.m
@@ -193,7 +193,7 @@ function [alphahat,etahat,epsilonhat,ahat,SteadyState,trend_coeff,aK,T,R,P,PK,d,
               DiffuseKalmanSmootherH1(T,R,Q,H,Pinf,Pstar,Y,trend,nobs,np,smpl,mf);
           if all(alphahat(:)==0)
               kalman_algo = 2;
-              if ~estim_params.ncn
+              if ~estim_params_.ncn
                   [alphahat,epsilonhat,etahat,ahat,aK] = ...
                       DiffuseKalmanSmootherH3(T,R,Q,H,Pinf,Pstar,Y,trend,nobs,np,smpl,mf);
               else
@@ -203,7 +203,7 @@ function [alphahat,etahat,epsilonhat,ahat,SteadyState,trend_coeff,aK,T,R,P,PK,d,
               end
           end
       elseif options_.kalman_algo == 2
-          if ~estim_params.ncn
+          if ~estim_params_.ncn
               [alphahat,epsilonhat,etahat,ahat,aK] = ...
                   DiffuseKalmanSmootherH3(T,R,Q,H,Pinf,Pstar,Y,trend,nobs,np,smpl,mf);
           else
@@ -217,7 +217,7 @@ function [alphahat,etahat,epsilonhat,ahat,SteadyState,trend_coeff,aK,T,R,P,PK,d,
               DiffuseKalmanSmootherH1_Z(ST,Z,R1,Q,H,Pinf,Pstar,data1,nobs,np,smpl);
           if all(alphahat(:)==0)
               kalman_algo = 4;
-              if ~estim_params.ncn
+              if ~estim_params_.ncn
                   [alphahat,epsilonhat,etahat,ahat,aK] = ...
                       DiffuseKalmanSmootherH3_Z(ST,Z,R1,Q,H,Pinf,Pstar,data1,nobs,np,smpl);
               else
@@ -228,7 +228,7 @@ function [alphahat,etahat,epsilonhat,ahat,SteadyState,trend_coeff,aK,T,R,P,PK,d,
           end
       elseif kalman_algo == 4
           data1 = Y - trend;
-          if ~estim_params.ncn
+          if ~estim_params_.ncn
               [alphahat,epsilonhat,etahat,ahat,aK] = ...
                   DiffuseKalmanSmootherH3_Z(ST,Z,R1,Q,H,Pinf,Pstar,data1, ...
                                             nobs,np,smpl);
-- 
GitLab