Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed May 6, 2024
1 parent f50bab3 commit 8e290b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phases/phases.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e290b9

Please sign in to comment.