padpadpadpad / rTPC

R package to help fit Thermal Performance Curves
https://padpadpadpad.github.io/rTPC/
22 stars 3 forks source link

Fix return of error when start value functions break #46

Closed padpadpadpad closed 4 years ago

padpadpadpad commented 4 years ago

When using get_start_vals() for Sharpe-Schoolfield models, this will break in instances where the Boltzmann can't fit. In these instances, lets just return 0.6 for E and 10 for Eh.