From ff83e7acc2d82e7c89b58156ea676413920eadf8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 7 Apr 2026 14:51:33 -0400 Subject: [PATCH] tests/preconditioned_conjugate_gradient_method_tests.m: fix test eval Plain unit_test() is better for true/false than unit_test_equals(). --- tests/preconditioned_conjugate_gradient_method_tests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/preconditioned_conjugate_gradient_method_tests.m b/tests/preconditioned_conjugate_gradient_method_tests.m index d30be5e..d0189de 100644 --- a/tests/preconditioned_conjugate_gradient_method_tests.m +++ b/tests/preconditioned_conjugate_gradient_method_tests.m @@ -93,5 +93,5 @@ for n = [ 5, 10, 25, 50, 100 ] ## There's no good way to choose the tolerance here, since each ## individual algorithm terminates based on the (2,infinity)-norm of ## the gradient. So we use two orders of magnitude. - unit_test_equals(msg, true, diff <= sqrt(tolerance)); + unit_test(msg, 1, diff <= sqrt(tolerance)); end -- 2.51.0