We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf2e245 commit 307b41dCopy full SHA for 307b41d
1 file changed
src/spaces/generalspace.jl
@@ -35,7 +35,7 @@ Base.axes(V::GeneralSpace, ::Trivial = Trivial()) = Base.OneTo(dim(V))
35
dual(V::GeneralSpace{𝔽}) where {𝔽} = GeneralSpace{𝔽}(dim(V), !isdual(V), isconj(V))
36
Base.conj(V::GeneralSpace{𝔽}) where {𝔽} = 𝔽 == ℝ ? V : GeneralSpace{𝔽}(dim(V), isdual(V), !isconj(V))
37
isdual(V::GeneralSpace) = V.dual
38
-isconj(V::GeneralSpace) = 𝔽 == ℝ ? false : V.conj
+isconj(V::GeneralSpace{𝔽}) where {𝔽} = 𝔽 == ℝ ? false : V.conj
39
40
unitspace(::Type{GeneralSpace{𝔽}}) where {𝔽} = GeneralSpace{𝔽}(1, false, false)
41
zerospace(::Type{GeneralSpace{𝔽}}) where {𝔽} = GeneralSpace{𝔽}(0, false, false)
0 commit comments