Skip to content

Commit 2a8c21b

Browse files
committed
remove one test of ismissing, that is no longer possible and set a changelog date.
1 parent 8d9b3c1 commit 2a8c21b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The file was started with Version `0.4`.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9-
## [0.6.0] unreleased
9+
## [0.6.0] June 24, 2026
1010

1111
This is a breaking change since the JuMP extension is dropped.
1212
We also unified a few of the internal solver state constructors.

src/plans/nonlinear_least_squares/nls_general_plan.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ function get_LevenbergMarquardt_scaling(
315315
threshold::Real = 1.0e-5, mode::Symbol = :Strict
316316
)
317317
# second derivative existent and negative: In strict mode (motivated by ceres) -> return sqrt(ρ_prime), 0
318-
(ismissing(ρ_double_prime) || (ρ_double_prime < 0 && mode == :Strict)) && return (sqrt(ρ_prime), 0.0)
318+
((ρ_double_prime < 0 && mode == :Strict)) && return (sqrt(ρ_prime), 0.0)
319319
(iszero(FkSq) && mode == :Strict) && return (sqrt(ρ_prime), 0.0)
320320
α = 1 - sqrt(max(1 + 2 * (ρ_double_prime / ρ_prime) * FkSq, 0.0))
321321
α = min(α, 1 - threshold)

0 commit comments

Comments
 (0)