Commit 45166aba authored by Marco Ratto's avatar Marco Ratto Committed by Stéphane Adjemian

Bug fix for undefined yr variable

parent dfcb9df5
...@@ -105,7 +105,7 @@ switch type ...@@ -105,7 +105,7 @@ switch type
[yra, yrass] = quarterly2annual(yaux,yauxss,GYTREND0aux,typeaux,0,0); [yra, yrass] = quarterly2annual(yaux,yauxss,GYTREND0aux,typeaux,0,0);
% deflator % deflator
yass = ynass/yrass; yass = ynass/yrass;
ya = (yna+ynass)./(yr+yrass)-yass; ya = (yna+ynass)./(yra+yrass)-yass;
case 6 case 6
% nominal series % nominal series
yn = (y+yss).*(yaux+yauxss) - yss.*yauxss; yn = (y+yss).*(yaux+yauxss) - yss.*yauxss;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment