Using LagrangianParticles
with Flat
topology hits wrong function dispatch when computing fractional indices
#3632
Labels
bug 🐞
Even a perfect program still has bugs
When using
LagrangianParticles
in agrid
with one direction havingFlat
topology, the code fails because the fractional index function hits the wrong line of code. Here is a MWE:which gives an error output of
The error indicates that
fractional_z_index
function hitsOceananigans.jl/src/Fields/interpolate.jl
Line 133 in d4bcc09
Oceananigans.jl/src/Fields/interpolate.jl
Line 129 in d4bcc09
Note: doing something like
is not supported, but perhaps this is a separate discussion.
The text was updated successfully, but these errors were encountered: