@@ -112,7 +112,7 @@ function mul!(
112112 if hasmethod (ctprod!, Tuple{typeof (res), typeof (v), typeof (α), typeof (β)})
113113 return ctprod! (res, v, α, β)
114114 else
115- iszero (β) || (p. Mtu != = nothing ) || allocate_vectors_args3! (p)
115+ iszero (β) || ! isempty (p. Mtu) || allocate_vectors_args3! (p)
116116 return prod3! (res, ctprod!, v, α, β, p. Mtu)
117117 end
118118 end
@@ -135,7 +135,7 @@ function mul!(
135135 if hasmethod (tprod!, Tuple{typeof (res), typeof (v), typeof (α), typeof (β)})
136136 tprod! (res, conj .(v), conj (α), conj (β))
137137 else
138- iszero (β) || (p. Mtu != = nothing ) || allocate_vectors_args3! (p)
138+ iszero (β) || ! isempty (p. Mtu) || allocate_vectors_args3! (p)
139139 prod3! (res, tprod!, conj .(v), conj (α), conj (β), p. Mtu)
140140 end
141141 conj! (res)
@@ -179,7 +179,7 @@ function mul!(
179179 if hasmethod (tprod!, Tuple{typeof (res), typeof (v), typeof (α), typeof (β)})
180180 return tprod! (res, v, α, β)
181181 else
182- iszero (β) || (p. Mtu != = nothing ) || allocate_vectors_args3! (p)
182+ iszero (β) || ! isempty (p. Mtu) || allocate_vectors_args3! (p)
183183 return prod3! (res, tprod!, v, α, β, p. Mtu)
184184 end
185185 end
@@ -202,7 +202,7 @@ function mul!(
202202 if hasmethod (ctprod!, Tuple{typeof (res), typeof (v), typeof (α), typeof (β)})
203203 ctprod! (res, conj .(v), conj (α), conj (β))
204204 else
205- iszero (β) || (p. Mtu != = nothing ) || allocate_vectors_args3! (p)
205+ iszero (β) || ! isempty (p. Mtu) || allocate_vectors_args3! (p)
206206 prod3! (res, ctprod!, conj .(v), conj (α), conj (β), p. Mtu)
207207 end
208208 conj! (res)
0 commit comments