Skip to content
Snippets Groups Projects
Commit 45166aba authored by Marco Ratto's avatar Marco Ratto Committed by Stéphane Adjemian
Browse files

Bug fix for undefined yr variable

parent dfcb9df5
Branches
Tags
No related merge requests found
......@@ -105,7 +105,7 @@ switch type
[yra, yrass] = quarterly2annual(yaux,yauxss,GYTREND0aux,typeaux,0,0);
% deflator
yass = ynass/yrass;
ya = (yna+ynass)./(yr+yrass)-yass;
ya = (yna+ynass)./(yra+yrass)-yass;
case 6
% nominal series
yn = (y+yss).*(yaux+yauxss) - yss.*yauxss;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment