Hello, I would propose the following change in AutoDiffScalar.h (head) 620c620,621 < return Eigen::MakeAutoDiffScalar(std::pow(x.value(),y), x.derivatives() * (y * std::pow(x.value(),y-1))); --- > using std::pow; > return Eigen::MakeAutoDiffScalar(pow(x.value(),y), x.derivatives() * (y * pow(x.value(),y-1))); The current implementation, i.e. see first line, gives a compile error if mpreal from unsupported/MPFRC++ Support module is used as a Scalar. The proposed change follows the idea of the rest of AutoDiffScalar.h Bye Ralf
Thanks for the fix. https://bitbucket.org/eigen/eigen/commits/8267656b597c/
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1250.