Skip to content

Commit f3f780c

Browse files
committed
250731.175013.PDT do "close all" at the beginning of perfdata
1 parent 6d2ce1d commit f3f780c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

matlab/tests/private/perfdata.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
function summary_file = perfdata(solvers, options)
22

3+
% Close all figures. Closing figures can release memory associated with them, which is important
4+
% when we run the tests on GitHub Actions, where the memory is limited.
5+
close all;
6+
37
data_dir = options.data_dir;
48
test_feature = options.test_feature;
59
feature_and_time = [test_feature, '.', options.time];

matlab/tests/private/testcu.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436

437437

438438
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
439-
function [fval_history, cv_history, output] = testsolv(solver, prob, options, ir)
439+
function [fval_history, cv_history] = testsolv(solver, prob, options, ir)
440440

441441
prob.options = setsolvopt(solver, length(prob.x0), options); % Set the options for the solver
442442

0 commit comments

Comments
 (0)