Skip to content

Commit c9e7d45

Browse files
committed
skip round() for now
1 parent 2582a8c commit c9e7d45

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/primitives/rectangles.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ height(prim::Rect) = prim.widths[2]
161161
volume(prim::HyperRectangle) = prod(prim.widths)
162162
area(prim::Rect2) = volume(prim)
163163

164-
function Base.round(::Type{Rect{N, T}}, x::Rect{N}, mode::RoundingMode=RoundNearest) where {N, T}
165-
mini = round.(T, minimum(x))
166-
maxi = round.(T, maximum(x))
167-
return Rect{N, T}(mini, maxi .- mini)
168-
end
164+
# function Base.round(::Type{Rect{N, T}}, x::Rect{N}, mode::RoundingMode=RoundNearest) where {N, T}
165+
# mini = round.(T, minimum(x))
166+
# maxi = round.(T, maximum(x))
167+
# return Rect{N, T}(mini, maxi .- mini)
168+
# end
169169

170170
"""
171171
split(rectangle, axis, value)

0 commit comments

Comments
 (0)