optimas-org / optimas

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

Assign `np.nan` only when the type is `float` #231

Closed delaossa closed 1 month ago

delaossa commented 1 month ago

This just prevents assigning np.nan to data fields in libE_output which are not float, but does nothing when the data is not float. Possibly, we would want to assign default values to other parameter types such as int.

It addresses this issue https://github.com/optimas-org/optimas/issues/218