adcomp icon indicating copy to clipboard operation
adcomp copied to clipboard

Warnings and errors are not thread safe

Open kaskr opened this issue 8 years ago • 0 comments

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.

kaskr avatar Jun 08 '16 12:06 kaskr