Open thomthom opened 9 years ago
http://stackoverflow.com/a/12802427
If one of both Floats is NaN then you get this message. So, prevent the NaN case.
When [a,b].min != a < b ? a : b
$ irb 1.9.3p327 :001 > Float::NAN < 1.1 => false 1.9.3p327 :002 > [Float::NAN, 1.1].min ArgumentError: comparison of Float with Float failed It would be more robust if min used <….
Original report by me.
http://sketchup.thomthom.net/extensions/report/15
#<ArgumentError: comparison of Sketchup::Edge with Sketchup::Edge failed>
Whaaat?