jdtuck / fdasrvf_R

Functional Data Analysis using Square-Root Slope Framework
10 stars 13 forks source link

navigate rounding errors in inv_exp_map() #29

Closed gqcollins closed 9 months ago

gqcollins commented 9 months ago

With the recent changes to smooth derivative calculations, "ip" was sometimes very very slightly greater than 1 (appeared to be 1 with machine precision), so acos(ip) threw an error. I'm just checking for that case.