optimas-org / optimas

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

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

Closed delaossa closed 4 months ago

delaossa commented 4 months 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