changeset 31:f2842e08d813

Change name to apply to show that it is mutating
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 10 Jan 2019 12:54:40 +0100
parents e86c65958aa1
children 64530c07165b
files diffOp.jl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/diffOp.jl	Thu Jan 10 11:32:58 2019 +0100
+++ b/diffOp.jl	Thu Jan 10 12:54:40 2019 +0100
@@ -29,7 +29,7 @@
 end
 
 # u = L*v
-function apply(L::Laplace1D, u::AbstractVector, v::AbstractVector)
+function apply!(L::Laplace1D, u::AbstractVector, v::AbstractVector)
     N = closureSize(L.op)
     M = length(v)