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
# This gives some performance boost https://github.com/JuliaLang/julia/issues/33273
136
-
throw_upper_overflow_error() =throw(ArgumentError("Boundary overflow detected: offset $offsetshould be equal or less than $(typemax(T) -last(r))"))
137
-
throw_lower_overflow_error() =throw(ArgumentError("Boundary overflow detected: offset $offsetshould be equal or greater than $(typemin(T) -first(r))"))
140
+
throw_upper_overflow_error() =throw(OverflowError("Boundary overflow detected: offset should be <= $(typemax(T) -last(r)) for offsets of type $T, received $offset"))
141
+
throw_lower_overflow_error() =throw(OverflowError("Boundary overflow detected: offset should be >= $(typemin(T) -first(r)) for offsets of type $T, received $offset"))
0 commit comments