Skip to content

Commit ff520e4

Browse files
authored
Add test for kronecker operator multiplication (#294)
1 parent 69f1280 commit ff520e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/MultivariateTest.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,11 @@ include("testutils.jl")
276276
testbandedblockbandedoperator(Dx)
277277
f = Fun((x,y) -> sin(x) * cos(y), d)
278278
fx = Fun((x,y) -> cos(x) * cos(y), d)
279-
@test (Dx*f)(0.2,0.3) fx(0.2,0.3)
279+
@test (Dx*f)(0.2,0.3) ((Derivative() I) * f)(0.2,0.3) fx(0.2,0.3)
280280
Dy = Derivative(d, [0,1])
281281
testbandedblockbandedoperator(Dy)
282282
fy = Fun((x,y) -> -sin(x) * sin(y), d)
283-
@test (Dy*f)(0.2,0.3) fy(0.2,0.3)
283+
@test (Dy*f)(0.2,0.3) ((I Derivative()) * f)(0.2,0.3) fy(0.2,0.3)
284284
L = Dx + Dy
285285
testbandedblockbandedoperator(L)
286286
@test (L*f)(0.2,0.3) (fx(0.2,0.3)+fy(0.2,0.3))

0 commit comments

Comments
 (0)