We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17a185 commit 1f76852Copy full SHA for 1f76852
src/functionmap.jl
@@ -57,7 +57,7 @@ end
57
function At_mul_B!(y::AbstractVector, A::FunctionMap, x::AbstractVector)
58
issymmetric(A) && return A_mul_B!(y, A, x)
59
(length(x) == A.M && length(y) == A.N) || throw(DimensionMismatch())
60
- if A.fc != nothing
+ if A.fc !== nothing
61
if !isreal(A)
62
x = conj(x)
63
end
@@ -74,7 +74,7 @@ end
74
function Ac_mul_B!(y::AbstractVector, A::FunctionMap, x::AbstractVector)
75
ishermitian(A) && return A_mul_B!(y, A, x)
76
77
78
return (ismutating(A) ? A.fc(y, x) : copyto!(y, A.fc(x)))
79
else
80
error("adjoint not implemented for $A")
0 commit comments