Define PINOCCHIO_EIGEN_MALLOC

Define Documentation

PINOCCHIO_EIGEN_MALLOC(allowed)

Tell if Pinocchio should use the Eigen Tensor Module or not

Check memory allocation for Eigen.

Warning

These macros do not work well with multithreading for Eigen <= 3.4 and will create a race condition - special care is required.