Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeRZP committed Oct 17, 2024
1 parent 26aa8bd commit 70a6dce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tracers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function nz_interpolate(z, nz; mode="linear", res=nothing)
if mode!="none"
if mode=="linear"
nz_int = linear_interpolation(z, nz, extrapolation_bc=Line())
end
if mode=="cubic"
dz = mean(z[2:end] - z[1:end-1])
z_range = z[1]:dz:z[end]
Expand Down

0 comments on commit 70a6dce

Please sign in to comment.