Skip to content

Commit ceea7d6

Browse files
committed
Fix warning
1 parent 13d8f74 commit ceea7d6

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.JETLSConfig.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,11 @@ all_files = false # boolean, default: true
1010
pattern = "no matching method found `copy!\\(::Random\\.TaskLocalRNG, ::Nothing\\)`"
1111
match_by = "message"
1212
match_type = "regex"
13-
severity = "off"
13+
severity = "off"
14+
15+
[[diagnostic.patterns]]
16+
pattern = "IncorrectCallArgs"
17+
match_by = "code"
18+
match_type = "literal"
19+
severity = "off"
20+
path = "src/solver.jl"

src/solver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ function gamma_loop!(
759759
d_gamma .= solver.lr.gamma_new .- gamma
760760
nothing
761761
end
762-
prob = NonlinearProblem(f_nonlin!, solver.lr.gamma_new, nothing)
762+
prob = NonlinearProblem(f_nonlin!, solver.lr.gamma_new, SciMLBase.NullParameters())
763763
solver.prob = prob
764764
end
765765
prob = prob::NonlinearProblem

0 commit comments

Comments
 (0)