I guess "requires" above is not correct. We can still fix this without adding interfaces for those other MATLAB/Octave functions.... But, perhaps we want to do away with the preprocessor interface for det_cond_forecast if we will not make one for init_plan, basic_plan, and flip_plan. I'm indifferent.
Houtan Bastanichanged title from det_cond_forecast interface is not useable to det_cond_forecast interface is buggy
changed title from det_cond_forecast interface is not useable to det_cond_forecast interface is buggy
It is not documented. Rather the MATLAB/Octave function is documented. See dynare#1688 (closed)
The interface is not used in the test files (the det_cond_forecast calls in tests/conditional_forecasts/5/fs2000_cal.mod are MATLAB/Octave statements).
If only one symbol is passed to det_cond_forecast there is an indexing error (see line 778 of ComputingTasks.cc).
Decisions:
Is this interface used? Should we keep it?
If we keep it, should it be documented, or was a decision made to leave it undocumented? If it should be documented, the test file should be modified to use it.
If we keep it, does it make sense to also create an interface for init_plan, basic_plan, and flip_plan as they are potentially used together? It seems awkward to have an interface for one but to leave the others as MATLAB/Octave statements.
Just to make it explicit, fixing the interface for det_cond_forecast, init_plan, basic_plan, and flip_plan will most likely also solve the minor issue in dynare#1688 (closed)
The unfinished interface for det_cond_forecast belongs to an ongoing work on linear block decomposition done by @FerhatMihoubi (see also dynare!1626 (closed)).
I have removed this interface in the 4.6 branch, since this work is not yet finished.