Skip to content

Commit

Permalink
Merge pull request #177 from vpuri3/typo
Browse files Browse the repository at this point in the history
fix typo that's causing warnings
  • Loading branch information
xtalax authored May 8, 2023
2 parents b858261 + 8b6b404 commit ec83405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/func.jl
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function iscached(L::FunctionOperator)
end

function cache_self(L::FunctionOperator, u::AbstractVecOrMat, v::AbstractVecOrMat)
L.traits.ifcache && @warn "you are allocating cache for a FunctionOperator for which ifcache = false."
!L.traits.ifcache && @warn "you are allocating cache for a FunctionOperator for which ifcache = false."
@set! L.cache = zero.((u, v))
L
end
Expand Down

0 comments on commit ec83405

Please sign in to comment.