From 231cf19438d3b514629815a12fdfd08b566e83b1 Mon Sep 17 00:00:00 2001 From: ferhat Date: Fri, 27 Nov 2015 12:11:42 +0100 Subject: [PATCH] Fix a typo in basic_plan.m --- matlab/basic_plan.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/basic_plan.m b/matlab/basic_plan.m index cd7b09a8b..c7b4cb360 100644 --- a/matlab/basic_plan.m +++ b/matlab/basic_plan.m @@ -57,7 +57,7 @@ function plan = basic_plan(plan, exogenous, expectation_type, date, value) if ~isempty(common_var) common_date = intersect(date, plan.constrained_date_{common_var}); if ~isempty(common_date) - [date, i_date] = setdiff(date, common_date); + [date_, i_date] = setdiff(date, common_date); value = value(i_date); if common_date.length > 1 the_dates = [cell2mat(strings(common_date(1))) ':' cell2mat(strings(common_date(end)))];