optimas-org / optimas

Optimization at scale, powered by libEnsemble
https://optimas.readthedocs.io
Other
22 stars 13 forks source link

Fix bug with fixed parameters #158

Closed AngelFP closed 8 months ago

AngelFP commented 8 months ago

This PR fixes a bug where VaryingParameters whose value was fixed before initializing the generator would actually not be fixed. This is because the list of fixed parameters was being overwritten by a None during the generator initialization.

The tests have been updated to prevent this from happening again.