Skip to content

Commit 19c8fa4

Browse files
committed
bug fix
1 parent e7428a2 commit 19c8fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commons/ExportUtility.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function compute_error(simcase::TaylorGreen{Periodic}, params::Dict{Symbol,Any},
457457

458458
#L2 norm error velocity and pressure
459459
l2eu = sqrt(sum((eu eu) * dΩ)) ./sqrt(sum((uh_analytic uh_analytic) * dΩ))
460-
l2ep = sqrt(sum((ep * ep) * dΩ)) ./ sqrt(sum((uh_analytic uh_analytic) * dΩ))
460+
l2ep = sqrt(sum((ep * ep) * dΩ)) ./ sqrt(sum((ph_analytic ph_analytic) * dΩ))
461461

462462
ALLOWED_EXPORTS = ["VelocityError", "PressureError"]
463463
selected_exports = intersect(ALLOWED_EXPORTS, simcase.simulationp.exportp.extra_export)

0 commit comments

Comments
 (0)