mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
re-enable pow for complex types
This commit is contained in:
@@ -697,7 +697,7 @@ ndtri() const
|
||||
|
||||
template <typename ScalarExponent>
|
||||
using UnaryPowReturnType =
|
||||
std::enable_if_t<internal::is_arithmetic<ScalarExponent>::value,
|
||||
std::enable_if_t<internal::is_arithmetic<typename NumTraits<ScalarExponent>::Real>::value,
|
||||
CwiseUnaryOp<internal::scalar_unary_pow_op<Scalar, ScalarExponent>, const Derived>>;
|
||||
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
|
||||
@@ -96,7 +96,7 @@ cwiseArg() const { return CwiseArgReturnType(derived()); }
|
||||
|
||||
template <typename ScalarExponent>
|
||||
using CwisePowReturnType =
|
||||
std::enable_if_t<internal::is_arithmetic<ScalarExponent>::value,
|
||||
std::enable_if_t<internal::is_arithmetic<typename NumTraits<ScalarExponent>::Real>::value,
|
||||
CwiseUnaryOp<internal::scalar_unary_pow_op<Scalar, ScalarExponent>, const Derived>>;
|
||||
|
||||
template <typename ScalarExponent>
|
||||
|
||||
Reference in New Issue
Block a user