Skip to content

Commit 42689bf

Browse files
committed
Fix NLS symbol issue
1 parent 13dc723 commit 42689bf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/JSOSuite.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ push!(
143143
push!(
144144
optimizers,
145145
(
146-
"TRON-NLS",
146+
"TRONNLS",
147147
:TronSolverNLS,
148148
"JSOSolvers.jl",
149149
:tron,
@@ -161,7 +161,7 @@ push!(
161161
push!(
162162
optimizers,
163163
(
164-
"TRUNK-NLS",
164+
"TRUNKNLS",
165165
:TrunkSolverNLS,
166166
"JSOSolvers.jl",
167167
:trunk,
@@ -302,8 +302,8 @@ is_available(::Val{:R2}) = true
302302
is_available(::Val{:LBFGS}) = true
303303
is_available(::Val{:TRON}) = true
304304
is_available(::Val{:TRUNK}) = true
305-
is_available(::Val{:TRON-NLS}) = true
306-
is_available(::Val{:TRUNK-NLS}) = true
305+
is_available(::Val{:TRONNLS}) = true
306+
is_available(::Val{:TRUNKNLS}) = true
307307
is_available(::Val{:Percival}) = true
308308
is_available(::Val{:CaNNOLeS}) = !isnothing(Base.get_extension(JSOSuite, :CaNNOLeSExt))
309309
is_available(::Val{:DCISolver}) = !isnothing(Base.get_extension(JSOSuite, :DCISolverExt))

src/selection.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Algorithm selection:
5252
- nonlinear objective: ✓;
5353
- may use 2-th order derivative.
5454
There are 7 optimizers available:
55-
["LBFGS", "R2", "TRON", "TRUNK", "TRON-NLS", "TRUNK-NLS", "Percival"].
56-
["LBFGS", "R2", "TRON", "TRUNK", "TRON-NLS", "TRUNK-NLS", "Percival"]
55+
["LBFGS", "R2", "TRON", "TRUNK", "TRONNLS", "TRUNKNLS", "Percival"].
56+
["LBFGS", "R2", "TRON", "TRUNK", "TRONNLS", "TRUNKNLS", "Percival"]
5757
```
5858
"""
5959
function select_optimizers(

0 commit comments

Comments
 (0)