adcomp
adcomp copied to clipboard
Warnings and errors are not thread safe
Example: Try to include lgamma(Inf)
in a parallel TMB model. A
warning is triggered that causes the model to crash.
Solution idea: Either redirect errors and warnings for parallel models or guard against extreme arguments for each of the relatively few cases where the C-API is being used.