Skip to content

Commit 2e44423

Browse files
Merge pull request #3243 from ChrisRackauckas-Claude/cr/diffeqbase-calculate-residuals-consistency
Make calculate_residuals! consistently return nothing
2 parents 7b472c4 + bf025b4 commit 2e44423

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/DiffEqBase/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqBase"
22
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>"]
4-
version = "6.212.0"
4+
version = "6.212.1"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

lib/DiffEqBase/src/calculate_residuals.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ with multiple threads.
142142
out, u₀, u₁, α, ρ, internalnorm, t,
143143
thread::Union{False, True} = False()
144144
)
145-
return @.. broadcast = false thread = thread out = calculate_residuals(u₀, u₁, α, ρ, internalnorm, t)
145+
@.. broadcast = false thread = thread out = calculate_residuals(u₀, u₁, α, ρ, internalnorm, t)
146+
return nothing
146147
end
147148

148149
"""
@@ -166,5 +167,5 @@ with multiple threads.
166167
E₁, E₂, u₀, u₁, α, ρ, δ,
167168
scalarnorm, t
168169
)
169-
return out
170+
return nothing
170171
end

0 commit comments

Comments
 (0)