Compilation Fix

This commit is contained in:
Fernando P. Panadero 2023-11-21 11:53:10 +01:00
parent 1b57d86c79
commit a4edc31570
2 changed files with 0 additions and 6 deletions

View file

@ -1,9 +1,5 @@
Base.zero(::Type{SU2fund{T}}) where T <: AbstractFloat = SU2fund{T}(zero(T),zero(T))
Random.rand(rng::AbstractRNG, ::Random.SamplerType{SU2fund{T}}) where T <: AbstractFloat = SU2fund{T}(complex(randn(rng,T),randn(rng,T)),
complex(randn(rng,T),randn(rng,T)))
SU2fund(a::T, b::T) where T <: AbstractFloat = SU2fund{T}(complex(a), complex(b))