kaskr / adcomp

AD computation with Template Model Builder (TMB)
Other
178 stars 81 forks source link

Handle NA for DATA_I* #400

Closed calbertsen closed 1 month ago

calbertsen commented 1 month ago

There is an issue with NA values for integer data types (#399), which can be handled by, e.g., converting from double to int with Rf_coerceVector.