Open pmatos opened 5 years ago
You could subclass FloatParameter to create such a parameter. An easier way might be way might be to replace (0, 1)
with (sys.float_info.min, 1)
. (A double can't represent any numbers between 0
and sys.float_info.min
so this would be the same as what you are asking for.)
Is there a way to define a
FloatParameter
where the min is not inclusive? For example, aFloatParameter
between0
and1
, but different than0
, i.e. anx
where0 < x <= 1
?