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
Copy file name to clipboardexpand all lines: src/interval.jl
-6
Original file line number
Diff line number
Diff line change
@@ -92,12 +92,6 @@ Construct a ClosedInterval `iv` spanning the region from
92
92
`center - halfwidth` to `center + halfwidth`.
93
93
"""
94
94
±(x, y) =ClosedInterval(x - y, x + y)
95
-
function±(x::CartesianIndex, y)
96
-
#TODO: Remove this method in the next breaking release
97
-
Base.depwarn("This method for `CartesianIndex(1,2) ± 1 == (0..2, 1..3)` is not consistent and will be removed because CartesianIndex(1,1) + 1 is not defined. "*
98
-
"If you need tuple such as `(0..2, 1..3)` from `CartesianIndex`, just write it in a plain tuple form.", :±)
0 commit comments