diff --git a/tests/second_order/burnside_1.mod b/tests/second_order/burnside_1.mod index 670471904d5f5da4474f310c3446353c2332b9ae..5c9906f7c098f4ddfdcc1cb149cff799bda0f5e4 100644 --- a/tests/second_order/burnside_1.mod +++ b/tests/second_order/burnside_1.mod @@ -29,7 +29,7 @@ steady; stoch_simul(order=2,irf=0); sigma2=M_.Sigma_e; -i = linspace(1,800,800); +i = 1:800; a = theta*xbar*i+(theta^2*sigma2)/(2*(1-rho)^2)*(i-2*rho*(1-rho.^i)/(1-rho)+rho^2*(1-rho.^(2*i))/(1-rho^2)); a1 = theta^2*sigma2/(2*(1-rho)^2)*(i-2*rho*(1-rho.^i)/(1-rho)+rho^2*(1-rho.^(2*i))/(1-rho^2)); b = theta*rho*(1-rho.^i)/(1-rho); @@ -46,4 +46,4 @@ x2 = [ ]; if any(abs(x1-x2) > 1e-14); error('burnside_1 doesn''t reproduce the analytical solution'); -end; \ No newline at end of file +end;