mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-10 02:39:03 +08:00
Altivec: fix compilation with C++20 and higher
This commit is contained in:
parent
d4b05454a7
commit
8f927fb52e
@ -1410,7 +1410,7 @@ EIGEN_ALWAYS_INLINE Packet pset_init(Packet& c1)
|
||||
template<typename PResPacket, typename ResPacket, typename ResScalar, typename Scalar>
|
||||
struct alpha_store
|
||||
{
|
||||
alpha_store<PResPacket, ResPacket, ResScalar, Scalar>(ResScalar& alpha) {
|
||||
alpha_store(ResScalar& alpha) {
|
||||
separate.r = pset1_complex<Scalar, ResScalar, ResPacket, 0x3>(alpha);
|
||||
separate.i = pset1_complex<Scalar, ResScalar, ResPacket, 0x0>(alpha);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user