Open boennecd opened 4 years ago
Thanks for the PR - your changes make sense.
In case you make other changes I would kindly ask to split in many small commits. Reason: There's a major restructure coming up (new AD framework - branch 'TMBad') and merging could become non-trivial if too much is done at once...
…
inline
change loop order in
asSEXP
andasMatrix
(R matrices are in column major order) fix https://github.com/kaskr/adcomp/issues/309Notice that there is still a
value
function here: https://github.com/kaskr/adcomp/blob/52002f8dd4e022661b1f4f32986a0c40a19fbd75/TMB/inst/include/tmb_core.hpp#L803-L818which can be changed to