1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Generic patch

This commit is contained in:
Peter Boyle 2022-11-15 16:21:45 -05:00
parent 0566fc6267
commit 5fe480d81c

View File

@ -244,7 +244,7 @@ struct Conj{
struct TimesMinusI{
// Complex
template <typename T>
accelerator_inline vec<T> operator()(vec<T> a, vec<T> b){
accelerator_inline vec<T> operator()(vec<T> a){
vec<T> out;
VECTOR_FOR(i, W<T>::c, 1)
@ -265,7 +265,7 @@ struct TimesMinusI{
struct TimesI{
// Complex
template <typename T>
accelerator_inline vec<T> operator()(vec<T> a, vec<T> b){
accelerator_inline vec<T> operator()(vec<T> a){
vec<T> out;
VECTOR_FOR(i, W<T>::c, 1)