diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-02-10 14:44:37 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-02-10 14:44:37 -0300 |
commit | e65a7fd1181e68dd5ff858678e7407ce04838b6a (patch) | |
tree | 5ec5f89026fb810135adebbb22869daf736c5aa2 /fits.cpp | |
parent | d22c11c61f60affb54756f2dbb3267743f1d24a0 (diff) | |
download | ictp-saifr_colloquium-e65a7fd1181e68dd5ff858678e7407ce04838b6a.tar.gz ictp-saifr_colloquium-e65a7fd1181e68dd5ff858678e7407ce04838b6a.tar.bz2 ictp-saifr_colloquium-e65a7fd1181e68dd5ff858678e7407ce04838b6a.zip |
Small tweak
Diffstat (limited to 'fits.cpp')
-rw-r--r-- | fits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ Vector gradientDescent(const std::vector<std::tuple<Real, Real>>& data, const Ve while ( xₜ₊₁ = xₜ - α * ∇H, Hₜ₊₁ = cost(data, xₜ₊₁), - Hₜ₊₁ > Hₜ - 0.0 * α * m + Hₜ₊₁ > Hₜ - 0.25 * α * m ) { α /= 2; } |