Skip to content

Commit

Permalink
fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Aug 21, 2024
1 parent baa044a commit ad04ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ isdir(outdir) && rm(outdir, recursive = true)
# Run unit tests for various equations
@testset "Test Type Stability" begin
@timed_testset "mean values" begin
for RealT1 in (Float32, Float64), RealT2
for RealT1 in (Float32, Float64), RealT2 in (Float32, Float64)
RealT = promote_type(RealT1, RealT2)
@test typeof(@inferred Trixi.ln_mean(RealT1(1), RealT2(2))) == RealT
@test typeof(@inferred Trixi.inv_ln_mean(RealT1(1), RealT2(2))) == RealT
Expand Down

0 comments on commit ad04ca8

Please sign in to comment.