changeset 243:01a67d1b8b5d boundary_conditions

Fix minus sign error
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 26 Jun 2019 21:19:00 +0200
parents 9819243102dd
children a827568fc251
files SbpOperators/src/SbpOperators.jl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SbpOperators/src/SbpOperators.jl	Wed Jun 26 20:24:21 2019 +0200
+++ b/SbpOperators/src/SbpOperators.jl	Wed Jun 26 21:19:00 2019 +0200
@@ -121,7 +121,7 @@
     @boundscheck if length(v) < closureSize(op)
         throw(BoundsError())
     end
-    -h_inv*apply(op.dClosure,v,1)
+    h_inv*apply(op.dClosure,v,1)
 end
 
 function apply_d(op::D2, h_inv::Real, v::AbstractVector, ::Type{Upper})