Skip to content

Commit

Permalink
Unicode sync
Browse files Browse the repository at this point in the history
  • Loading branch information
axla-io committed Oct 17, 2023
1 parent 050a8b4 commit 07d7d07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dfsane.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ function SciMLBase.__init(prob::NonlinearProblem{uType, iip}, alg::DFSane,

p = prob.p
T = eltype(uₙ)
σₘᵢₙ, σₘₐₓ, γ, τₘᵢₙ, τₘₐₓ = T(alg.σₘᵢₙ), T(alg.σₘₐₓ), T(alg.γ), T(alg.τₘᵢₙ), T(alg.τₘₐₓ)
σₘᵢₙ, σₘₐₓ, γ, τₘᵢₙ, τₘₐₓ = T(alg.σ_min), T(alg.σ_max), T(alg.γ), T(alg.τ_min), T(alg.τ_max)
α₁ = one(T)
γ = T(alg.γ)
f₍ₙₒᵣₘ₎ₙ₋₁ = α₁
σₙ = T(alg.σ₁)
σₙ = T(alg.σ_1)
M = alg.M
nₑₓₚ = alg.nₑₓₚ
nₑₓₚ = alg.n_exp
𝒹, uₙ₋₁, fuₙ, fuₙ₋₁ = copy(uₙ), copy(uₙ), copy(uₙ), copy(uₙ)

if iip
Expand Down Expand Up @@ -187,7 +187,7 @@ function perform_step!(cache::DFSaneCache{true})
# Line search direction
@. cache.𝒹 = -σₙ * cache.fuₙ₋₁

η = alg.ηₛ(f₍ₙₒᵣₘ₎₀, n, cache.uₙ₋₁, cache.fuₙ₋₁)
η = alg.η_strategy(f₍ₙₒᵣₘ₎₀, n, cache.uₙ₋₁, cache.fuₙ₋₁)

= maximum(cache.ℋ)
α₊ = α₁
Expand Down

0 comments on commit 07d7d07

Please sign in to comment.