JuliaGeometry / GeometryTypes.jl

Geometry types for Julia
Other
67 stars 41 forks source link

Fixed inconsistency between extrema and minimum/maximum #175

Closed CarpeNecopinum closed 5 years ago

CarpeNecopinum commented 5 years ago

Based on #174, makes minimum(...) behave consistently with extrema(...)[1] and maximum(...) with extrema(...)[2] (i.e. return the corner of the bounding box).

SimonDanisch commented 5 years ago

Thank you :) Would you be willing to also add a simple test for this?

CarpeNecopinum commented 5 years ago

There you go :)

SimonDanisch commented 5 years ago

Thank you so much :)