1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-05 19:55:56 +01:00

correct type for vecd in TimesI and TimesMinusI

This commit is contained in:
nmeyer-ur 2020-06-02 10:44:15 +02:00
parent b4735c9904
commit 71cf9851e7

View File

@ -457,8 +457,8 @@ struct TimesMinusI{
}
// Complex double
inline vecd operator()(vecd a, vecd b){
pred pg1 = acle<float>::pg1();
vecd z_v = acle<float>::zero();
pred pg1 = acle<double>::pg1();
vecd z_v = acle<double>::zero();
return svcadd_x(pred, z_v, a, 270);
}
@ -502,8 +502,8 @@ struct TimesI{
}
// Complex double
inline vecd operator()(vecd a, vecd b){
pred pg1 = acle<float>::pg1();
vecd z_v = acle<float>::zero();
pred pg1 = acle<double>::pg1();
vecd z_v = acle<double>::zero();
return svcadd_x(pred, z_v, a, 90);
}