Skip to content

Conversation

@simone-silvestri
Copy link
Collaborator

@simone-silvestri simone-silvestri commented May 30, 2022

Probably doesn't really matter because of impenetrability....

using Oceananigans.Operators: Vᶜᶜᶜ
using Oceananigans.Fields: ZeroField

@inline _advective_tracer_flux_x(args...) = advective_tracer_flux_x(args...)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems you have cut these lines from momentum_advection_operators.jl to here, which makes a lot of sense. What was the bug that occurred before?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug is the difference between

_advective_tracer_flux_z(args...) = _advective_tracer_flux_z(args...)

and

_advective_tracer_flux_z(args...) = advective_tracer_flux_z(args...)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@simone-silvestri simone-silvestri merged commit d14b6d2 into main May 31, 2022
@simone-silvestri simone-silvestri deleted the ss/fix_bug branch May 31, 2022 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants