dpar.theta changed to complex values

parent 34534cbf
...@@ -23,7 +23,7 @@ struct DiracParam{T} ...@@ -23,7 +23,7 @@ struct DiracParam{T}
rep rep
m0::T m0::T
csw::T csw::T
th::NTuple{4,T} th::NTuple{4,Complex{T}}
ct::T ct::T
end end
......
...@@ -24,7 +24,7 @@ function krnl_dot!(sum,fone,ftwo) ...@@ -24,7 +24,7 @@ function krnl_dot!(sum,fone,ftwo)
return nothing return nothing
end end
function field_dot(fone::CuArray{Spinor{4, SU3fund{T}}},ftwo::CuArray{Spinor{4, SU3fund{T}}},lp) where {T} #Change the fact that it allocates memory (?) function field_dot(fone::CuArray{Spinor{4, SU3fund{T}}},ftwo::CuArray{Spinor{4, SU3fund{T}}},lp) where {T} #Change the fact that it allocates memory (?) define the field in CG directly
sumf = scalar_field(Complex{T}, lp) sumf = scalar_field(Complex{T}, lp)
CUDA.@sync begin CUDA.@sync begin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment