Skip to content

Commit

Permalink
Merge pull request #22 from JuliaGeodynamics/albert-de-montserrat-pat…
Browse files Browse the repository at this point in the history
…ch-1

Typos
  • Loading branch information
albert-de-montserrat authored Nov 20, 2023
2 parents 82cb326 + 7ac9e5b commit 67de278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Interpolations/particle_to_grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ end
any(isnan, p_i) && continue
ω_i = bilinear_weight(xvertex, p_i, di)
ω += ω_i
ωxF = muladd(ω_i, @cell(Fp[i, ivertex, jvertex]), ωF)
ωxF = muladd(ω_i, @cell(Fp[i, ivertex, jvertex]), ωxF)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion src/Interpolations/particle_to_grid_centroid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ end
ω += ω_i
ωxF = ntuple(Val(N)) do j
Base.@_inline_meta
muladd(ω_i, @cell(Fp[j][i, inode, jnode, knode]), ωxF[j])
muladd(ω_i, @cell(Fp[j][ip, inode, jnode, knode]), ωxF[j])
end
end

Expand Down

0 comments on commit 67de278

Please sign in to comment.