cultmath: widen fixed-column fixture so no other column blocks

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-29 02:14:39 +02:00
commit 5382b81036

View file

@ -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);