Skip to content

Commit

Permalink
Fixing bug found by bradicator
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbeckr committed Aug 22, 2017
1 parent 8379030 commit 5f5b8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/tfocs_iterate.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
end
end
for err_j = 1 : numel(stopFcn),
if isa(stopFcn,'function_handle') % added Oct 27 '14
if isa(stopFcn{err_j},'function_handle') % added Oct 27 '14; corrected Aug 22 '17
if saddle,
stop = stopFcn{err_j}(f_v,cur_pri, get_dual(cur_dual) );
else
Expand Down

0 comments on commit 5f5b8cf

Please sign in to comment.