v4: corrected str2func bug in dynare_solve.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@541 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
dd557a7c8c
commit
4a654eddae
|
@ -5,7 +5,6 @@ function [x,cheik] = dynare_solve(func,x,varargin)
|
|||
|
||||
options_ = set_default_option(options_,'solve_algo',2);
|
||||
cheik = 0;
|
||||
func = str2func(func);
|
||||
if options_.solve_algo == 0
|
||||
if ~isempty(which('fsolve')) & sscanf(version('-release'),'%d') >= 13;
|
||||
options=optimset('fsolve');
|
||||
|
|
Loading…
Reference in New Issue