uqfoundation / mystic

constrained nonlinear optimization for scientific machine learning, UQ, and AI
http://mystic.rtfd.io
Other
467 stars 50 forks source link

avoid ZeroDivision and LinAlgError for single datapoint #231

Closed mmckerns closed 9 months ago

mmckerns commented 9 months ago

Summary

when interpolating with a single datapoint, epsilon should not throw a ZeroDivisionError. then, the interpolations should succeed if:

Improves on #230

Checklist

Documentation and Tests

Release Management