From b034c0912c32d87a81758510f65d2f2d2c8ba41a Mon Sep 17 00:00:00 2001 From: Zaikun ZHANG Date: Sun, 10 May 2026 15:55:21 +0800 Subject: [PATCH 1/2] Try negative iprnt in testprima.m --- matlab/tests/testprima.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/tests/testprima.m b/matlab/tests/testprima.m index 70b27a9240..fd237f5202 100644 --- a/matlab/tests/testprima.m +++ b/matlab/tests/testprima.m @@ -136,7 +136,7 @@ function testprima(release, precision, nrun, test_classical, verbose) options.solver = solver; options.classical = clflag; options.iprint = round(4*(2*rand() - 1)) * verbose; - options.iprint = abs(options.iprint); % For test + options.iprint = -abs(options.iprint); % For test problem.options = options; switch type From a7ea4195fffdf694510e0136026abe2682a88adc Mon Sep 17 00:00:00 2001 From: Zaikun ZHANG Date: Sun, 10 May 2026 16:37:55 +0800 Subject: [PATCH 2/2] Update testprima.m, try testing only the classical mode --- matlab/tests/testprima.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/tests/testprima.m b/matlab/tests/testprima.m index fd237f5202..4939846936 100644 --- a/matlab/tests/testprima.m +++ b/matlab/tests/testprima.m @@ -102,6 +102,8 @@ function testprima(release, precision, nrun, test_classical, verbose) clflag_list = {true, false}; % clflag: call the solvers in classical mode (true) or not (false) end +clflag_list = {true}; % For test + for irun = 1 : nrun fprintf ('\n'); if (nrun > 1) @@ -136,7 +138,6 @@ function testprima(release, precision, nrun, test_classical, verbose) options.solver = solver; options.classical = clflag; options.iprint = round(4*(2*rand() - 1)) * verbose; - options.iprint = -abs(options.iprint); % For test problem.options = options; switch type