Skip to content

Commit

Permalink
Correct z interp
Browse files Browse the repository at this point in the history
  • Loading branch information
BTV25 committed Apr 3, 2024
1 parent 0c4ac9d commit 895cdc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ function interpolate_grid(xyz, eta, interp; xdir=0, ydir=1)
y = interp(t, xyz_i[2,:], eta)
end

if !isnothing(z) && ydir==2
else
# if !isnothing(z) && ydir==2
# else
z = interp(t, xyz_i[3,:], eta)
end
# end

vcat(x',y',z')
end
Expand Down

0 comments on commit 895cdc4

Please sign in to comment.