Skip to content

Commit

Permalink
Merge pull request #6 from tgkolda/master
Browse files Browse the repository at this point in the history
Fixed a small bug that I introduced in my last merge request.
  • Loading branch information
stephenbeckr authored Jun 14, 2019
2 parents ad53fb6 + 2ff6fad commit 9253c1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Matlab/lbfgsb.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
% I recommend you set this -1 and use the Matlab print features
% (e.g., set printEvery )

fcn_wrapper([], [], [], printEvery); % initialized persistent variables
fcn_wrapper([], [], [], 0); % initialize persistent variables
callF_wrapped = @(x,varargin) fcn_wrapper( callF, errFcn, maxIts, ...
printEvery, x, varargin{:} );
% callF_wrapped = @(x,varargin)callF(x); % also valid, but simpler
Expand Down
Binary file modified Matlab/lbfgsb_wrapper.mexw64
Binary file not shown.

0 comments on commit 9253c1a

Please sign in to comment.