You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#4059 aimed to fix cube.intersection so if a cell's bounds align with the requested maximum and minimum, the new bounds exactly span that range. This does not work if the requested minimum is negative.
馃悰 Bug Report
#4059 aimed to fix
cube.intersection
so if a cell's bounds align with the requested maximum and minimum, the new bounds exactly span that range. This does not work if the requested minimum is negative.How To Reproduce
Output:
Expected behaviour
Above code should produce:
Proposed fix
I think this line
iris/lib/iris/cube.py
Line 3190 in 274057b
should have been
though I have not checked this fix.
Had it been written this way, I do not think it would have triggered the bug highlighted at #4220.
Environment
The text was updated successfully, but these errors were encountered: