From 55eaf002b03af313b4f2db2049225d9ffd2cbd3c Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 23 Apr 2024 08:58:24 +0200 Subject: Small formatting change. --- least_squares.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/least_squares.cpp b/least_squares.cpp index 58dab69..1e464fe 100644 --- a/least_squares.cpp +++ b/least_squares.cpp @@ -131,7 +131,7 @@ Vector gradientAscent(const QuadraticModel& M, const Vector& x₀, Real ε = 1e- Vector xₜ₊₁; Real Hₜ₊₁; - while( + while ( xₜ₊₁ = normalize(xₜ + α * ∇H), Hₜ₊₁ = M.H(xₜ₊₁), Hₜ₊₁ < Hₜ + 0.5 * α * m ) { -- cgit v1.2.3-70-g09d2