You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to define a FloatParameter where the min is not inclusive? For example, a FloatParameter between 0 and 1, but different than 0, i.e. an x where 0 < x <= 1?
The text was updated successfully, but these errors were encountered:
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
?The text was updated successfully, but these errors were encountered: