mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
fixed double overloading vecf in Div, corrected typos
This commit is contained in:
parent
48a340a9d1
commit
92f0f29670
@ -355,7 +355,7 @@ struct Div{
|
|||||||
return svdiv_x(pg1, a, b);
|
return svdiv_x(pg1, a, b);
|
||||||
}
|
}
|
||||||
// Real double
|
// Real double
|
||||||
inline vecf operator()(vecf a, vecf b){
|
inline vecd operator()(vecd a, vecd b){
|
||||||
pred pg1 = acle<double>::pg1();
|
pred pg1 = acle<double>::pg1();
|
||||||
return svdiv_x(pg1, a, b);
|
return svdiv_x(pg1, a, b);
|
||||||
}
|
}
|
||||||
@ -369,7 +369,7 @@ struct Conj{
|
|||||||
}
|
}
|
||||||
// Complex double
|
// Complex double
|
||||||
inline vecd operator()(vecd a){
|
inline vecd operator()(vecd a){
|
||||||
pred pg_odd = acle<T>::pg_odd();
|
pred pg_odd = acle<double>::pg_odd();
|
||||||
return svneg_x(pg_odd, a);
|
return svneg_x(pg_odd, a);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -398,7 +398,7 @@ struct TimesMinusI{
|
|||||||
struct TimesI{
|
struct TimesI{
|
||||||
// Complex float
|
// Complex float
|
||||||
inline vecf operator()(vecf a, vecf b){
|
inline vecf operator()(vecf a, vecf b){
|
||||||
lutf tbl_swap = acle<T>::tbl_swap();
|
lutf tbl_swap = acle<float>::tbl_swap();
|
||||||
pred pg1 = acle<float>::pg1();
|
pred pg1 = acle<float>::pg1();
|
||||||
pred pg_even = acle<float>::pg_even();
|
pred pg_even = acle<float>::pg_even();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user