Fixed returned fvec and fjac with solve_algo=3.

time-shift
Stéphane Adjemian (Scylla) 2017-09-29 10:23:58 +02:00
parent b429a23852
commit 6a2736d498
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ elseif options.solve_algo == 3
else
[x,info] = csolve(func,x,[],1e-6,500,varargin{:});
end
[fvec, fjac] = feval(func, x, varargin{:});
elseif options.solve_algo == 10
% LMMCP
olmmcp = options.lmmcp;