Skip to content

Commit 6dfd699

Browse files
Fix precision mixing in RodasTableau and better test precision mix
Fixes #2524
1 parent bdef41c commit 6dfd699

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_tableaus.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ end
225225
struct RodasTableau{T, T2}
226226
A::Matrix{T}
227227
C::Matrix{T}
228-
gamma::T
228+
gamma::T2
229229
c::Vector{T2}
230230
d::Vector{T}
231231
H::Matrix{T}

test/interface/precision_mixing.jl

Whitespace-only changes.

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ end
8585
if !is_APPVEYOR && (GROUP == "All" || GROUP == "InterfaceIV" || GROUP == "Interface")
8686
@time @safetestset "Autodiff Error Tests" include("interface/autodiff_error_tests.jl")
8787
@time @safetestset "Ambiguity Tests" include("interface/ambiguity_tests.jl")
88+
@time @safetestset "Precision Mixing Tests" include("interface/precision_mixing.jl")
8889
@time @safetestset "Sized Matrix Tests" include("interface/sized_matrix_tests.jl")
8990
@time @safetestset "Second Order with First Order Solver Tests" include("interface/second_order_with_first_order_solvers.jl")
9091
end

0 commit comments

Comments
 (0)