Fix a typo in basic_plan.m
parent
83a6963286
commit
231cf19438
|
@ -57,7 +57,7 @@ function plan = basic_plan(plan, exogenous, expectation_type, date, value)
|
||||||
if ~isempty(common_var)
|
if ~isempty(common_var)
|
||||||
common_date = intersect(date, plan.constrained_date_{common_var});
|
common_date = intersect(date, plan.constrained_date_{common_var});
|
||||||
if ~isempty(common_date)
|
if ~isempty(common_date)
|
||||||
[date, i_date] = setdiff(date, common_date);
|
[date_, i_date] = setdiff(date, common_date);
|
||||||
value = value(i_date);
|
value = value(i_date);
|
||||||
if common_date.length > 1
|
if common_date.length > 1
|
||||||
the_dates = [cell2mat(strings(common_date(1))) ':' cell2mat(strings(common_date(end)))];
|
the_dates = [cell2mat(strings(common_date(1))) ':' cell2mat(strings(common_date(end)))];
|
||||||
|
|
Loading…
Reference in New Issue