flamapy / fm_metamodel

This repo host the feature model concrete classes
3 stars 5 forks source link

Change the type of Ranges in the Attributes from int to int | float #93

Open jmhorcas opened 9 months ago

jmhorcas commented 9 months ago

So that Range can also support float numbers.

This would only require to change the signature of the init method in the Range class for the min_value and max_value from "int" to "int | float". (Line 409 in feature_model.py)

Is this possible and sound?