Skip to content

Commit 8b6b404

Browse files
committed
fix typo
1 parent b858261 commit 8b6b404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/func.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function iscached(L::FunctionOperator)
225225
end
226226

227227
function cache_self(L::FunctionOperator, u::AbstractVecOrMat, v::AbstractVecOrMat)
228-
L.traits.ifcache && @warn "you are allocating cache for a FunctionOperator for which ifcache = false."
228+
!L.traits.ifcache && @warn "you are allocating cache for a FunctionOperator for which ifcache = false."
229229
@set! L.cache = zero.((u, v))
230230
L
231231
end

0 commit comments

Comments
 (0)