Open ceball opened 9 years ago
Note: see https://github.com/ioam/topographica/blob/master/topo/tkgui/projectionpanel.py#L140 (UnitsPanel
) for an example where someone has had to hack around this problem.
I guess we'd need to implement this for Number using the floating-point epsilon value subtracted from the exclusive upper bound, and then reimplement it for Integer by subtracting 1 from the exclusive upper bound.
Create a number with bounds (0,1] and verify that Number respects the bounds:
But Number's
crop_to_bounds
(and henceset_in_bounds
) does not respect exclusive bounds: