Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyuxie committed Dec 14, 2024
1 parent 30c787d commit 5bd7c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/dgsem_tree/indicators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function (indicator_hg::IndicatorHennemannGassner)(u, mesh, equations, dg::DGSEM
# magic parameters
# TODO: Are there better values for Float32?
RealT = real(dg)
threshold = 0.5f0 * 10^(convert(RealT, -1.8) * nnodes(dg)^convert(RealT, 0.25))
threshold = 0.5f0 * 10^(convert(RealT, -1.8) * nnodes(dg)^0.25f0)
o_0001 = convert(RealT, 0.0001)
parameter_s = log((1 - o_0001) / o_0001)

Expand Down

0 comments on commit 5bd7c69

Please sign in to comment.