diff --git a/src/phases/phases.jl b/src/phases/phases.jl index b836387b..1925d244 100644 --- a/src/phases/phases.jl +++ b/src/phases/phases.jl @@ -96,7 +96,7 @@ function phase_ratio_weights( for i in eachindex(ph) # bilinear weight (1-(xᵢ-xc)/dx)*(1-(yᵢ-yc)/dy) - p = getindex.(pxi, i) + p = getindex.(pxi, i) isnan(first(p)) && continue x = @inline bilinear_weight(cell_center, p, di) sumw += x # reduce