Skip to content

Complex Numtraits::HasSign and nmsub test

Reference issue

What does this implement/fix?

NumTraits<std::complex<Real_>>::IsSigned does not inherit NumTraits<Real_>::IsSigned by default. This probably didn't affect many aspects of Eigen, but I wanted to make this change a separate MR to support git-bisection if this does break something. I only noticed it because we weren't testing complex `pnegate`, which threw off a test for something else I was working on.

Also, we weren't testing pnmsub due to a typo I made.

Additional information

Edited by Charles Schlosser

Merge request reports

Loading