thej022214 / OUwie

Estimates and compares rate differences of continuous character evolution under Brownian motion and a new set of Ornstein-Uhlenbeck (OU) models that allow the strength of selection and drift to vary across selective regimes.
9 stars 3 forks source link

Object fit with three.point algorithm always reports "reliable solution" to user #18

Open ltaylor2 opened 1 month ago

ltaylor2 commented 1 month ago

https://github.com/thej022214/OUwie/blob/892d71dacf2f45abbab4e2e9264f6902cee4b582/R/OUwie.R#L940C1-L941C1

Because OUwie objects with three.point do not include an eigvalue item, any(x$eigvalue<0) always assesses FALSE.

As a result, the print() function always reports a reliable solution has been found.

(maybe also issue for invert alg with diagn=FALSE ?)