From 5382b81036c0a6fd74b958d8462ea08959c2f4b3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 02:14:39 +0200 Subject: [PATCH] cultmath: widen fixed-column fixture so no other column blocks Co-Authored-By: Claude Sonnet 5 --- .../cultmath/tests/CultMath.Tests/BoundedLeastSquaresTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cultmath/tests/CultMath.Tests/BoundedLeastSquaresTests.cs b/packages/cultmath/tests/CultMath.Tests/BoundedLeastSquaresTests.cs index 6cf65fd4..0d99b341 100644 --- a/packages/cultmath/tests/CultMath.Tests/BoundedLeastSquaresTests.cs +++ b/packages/cultmath/tests/CultMath.Tests/BoundedLeastSquaresTests.cs @@ -295,8 +295,8 @@ public sealed class BoundedLeastSquaresTests public void FixedColumnStaysPutEvenWhenItsGradientWantsOut() { const int m = 5, n = 3; - var lo = new[] { -1f, -1f, -1f }; - var hi = new[] { 1f, -1f, 1f }; + var lo = new[] { -100f, -1f, -100f }; + var hi = new[] { 100f, -1f, 100f }; var x = new float[n]; var status = Solve(m, n, A54, B5, lo, hi, x, out var iterations); Assert.Equal(BoundedLeastSquaresStatus.Converged, status);