Fixed returned fvec and fjac with solve_algo=3.

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

View File

@ -264,6 +264,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;