Files
LSL-PyOptimizer/lslopt/lslbasefuncs.py
Sei Lisa 60f257279b Use math.copysign to distinguish indeterminates
We were using a very dubious method to distinguish an indeterminate from a NaN, via struct.unpack. Turns out that math.copysign gets the job done and seems more robust.
2016-05-15 19:55:45 +02:00

55 KiB