Skip to content

Commit 7d4296a

Browse files
authored
Merge pull request #176 from milankl/sw/minor-changes
Minor changes for Enzyme
2 parents 033239f + ffdc31e commit 7d4296a

File tree

4 files changed

+132
-122
lines changed

4 files changed

+132
-122
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ShallowWaters"
22
uuid = "56019723-2d87-4a65-81ff-59d5d8913e3c"
3-
authors = ["Milan Kloewer"]
4-
version = "0.5.1"
3+
authors = ["Milan Kloewer and ShallowWaters.jl contributors"]
4+
version = "0.5.2"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

src/constants.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function SSPRK3coeff{T}(P::Parameter,Δt_Δ::T) where T
2626
return SSPRK3coeff{T}(n,s,kn,mn,Δt_Δn,kna,knb,Δt_Δnc)
2727
end
2828

29-
struct Constants{T<:AbstractFloat,Tprog<:AbstractFloat}
29+
mutable struct Constants{T<:AbstractFloat,Tprog<:AbstractFloat}
3030

3131
# RUNGE-KUTTA COEFFICIENTS 2nd/3rd/4th order including timestep Δt
3232
RKaΔt::Array{Tprog,1}

0 commit comments

Comments
 (0)