Closed glwagner closed 14 hours ago
Confirming that this PR also resolves #3750 based on the MWE there!
julia> @time minimum(u2)
0.061013 seconds (659 allocations: 49.336 KiB)
0.0
julia> @time minimum(u2.data)
0.010983 seconds (3 allocations: 1.562 KiB)
0.0
Resolves https://github.com/CliMA/Oceananigans.jl/issues/3750
Also supercedes #3794 where some tests are failing, not sure why. But that PR goes a bit further to clean up conditional ops. I think we want that too but let's start with this.
cc @ali-ramadhan