Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyuxie committed Sep 11, 2024
1 parent 0d11b2e commit 4357e33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/equations/ideal_glm_mhd_multicomponent_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ function IdealGlmMhdMulticomponentEquations2D(; gammas, gas_constants)
__gammas = SVector(map(RealT, _gammas))
__gas_constants = SVector(map(RealT, _gas_constants))

c_h = convert(RealT, NaN)

return IdealGlmMhdMulticomponentEquations2D{NVARS, NCOMP, RealT}(__gammas,
__gas_constants,
NaN)
c_h)
end

# Outer constructor for `@reset` works correctly
Expand Down

0 comments on commit 4357e33

Please sign in to comment.