NOAA-FIMS / ModularTMBExample

Simple example showing how to interface TMB with portable models and Rcpp objects.
0 stars 2 forks source link

Avoid AD type specific instances #4

Closed kaskr closed 2 years ago

kaskr commented 2 years ago

As I told @Andrea-Havron-NOAA it's best to avoid using nested AD types (as these are specific for CppAD). This PR solves this problem. It also makes the interface less repetitive.