SelfAdjointEigenSolver compute uses dynamic memory allocation
I am seeing very similar behavior to this issue. I run something similar to the following:
Eigen::SelfAdjointEigenSolver<Eigen::MatrixXd> eigensolver;
Eigen::MatrixXd K;
Eigen::internal::set_is_malloc_allowed(false);
eigensolver.compute(K);
Eigen::internal::set_is_malloc_allowed(true);
I get this error, in both Eigen 3.3 and 3.4:
void Eigen::internal::check_that_malloc_is_allowed(): Assertion is_malloc_allowed() && "heap allocation is forbidden (EIGEN_RUNTIME_NO_MALLOC is defined and g_is_malloc_allowed is false)"' failed. Aborted (core dumped)
Has this been fixed yet? I'd appreciate help, as I'm trying to get this operating on a real-time system. Thanks!
Edited by Annie Doris