Skip to content

Commit 496b775

Browse files
authored
tests for multivariate bugfix (#120)
1 parent 12778e0 commit 496b775

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/MultivariateTest.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ end
8282
@time v1 = f.(X, Y);
8383
@time v2 = f.(x, y');
8484
@test v1 v2
85+
86+
# ensure that all coefficients are captured
87+
L = LowRankFun((x,y) -> x*y, Chebyshev() Chebyshev())
88+
F = Fun(L)
89+
@test L(0.1, 0.2) F(0.1, 0.2)
8590
end
8691

8792

0 commit comments

Comments
 (0)