jrckln / Bendyourspline

2 stars 0 forks source link

Intercept range input restriction #64

Open matherealize opened 2 years ago

matherealize commented 2 years ago

Currently it is possible to set the range of the intercept to admittedly absurdly large values (e.g. 10^20). This is a problem since after setting such a value, the intercept slider does not work anymore and gets set to "NaN". This can be fixed by manually changing the intercept range back to a smaller value again. This is not app-breaking, but confusing once it happens.

This could be avoided by limiting the range of intercept values to plausible values for all data examples (e.g. +-500).