Commit d901939e authored by Marco Ratto's avatar Marco Ratto Committed by Stéphane Adjemian
Browse files

Bug fix for undefined yr variable

(cherry picked from commit 45166aba)
parent c6ee541f
......@@ -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;
Supports Markdown
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