Skip to content

Commit 61914a3

Browse files
committed
Tests pass
1 parent 28e903d commit 61914a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/MultivariateOrthogonalPolynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function diff_layout(::AbstractBasisLayout, a, (k,j)::NTuple{2,Int}; dims...)
4444
(k < 0 || j < 0) && throw(ArgumentError("order must be non-negative"))
4545
k == j == 0 && return a
4646
((k,j) == (1,0) || (k,j) == (0,1)) && return diff(a, Val((k,j)); dims...)
47-
k j && diff(diff(a, (1,0)), (k-1,j))
47+
k j && return diff(diff(a, (1,0)), (k-1,j))
4848
diff(diff(a, (0,1)), (k,j-1))
4949
end
5050

test/test_triangle.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ import MultivariateOrthogonalPolynomials: tri_forwardrecurrence, grid, TriangleR
194194

195195
∂ˣ² = (∂ˣ)^2
196196
∂ʸ² = (∂ʸ)^2
197-
@test ∂ˣ² isa ApplyQuasiMatrix{<:Any,typeof(^)}
198-
@test ∂ʸ² isa ApplyQuasiMatrix{<:Any,typeof(^)}
197+
@test ∂ˣ² isa Derivative
198+
@test ∂ʸ² isa Derivative
199199

200200
Dˣ² = JacobiTriangle(2,0,2) \ (∂ˣ² * P)
201201
Dˣ² = JacobiTriangle(2,0,2) \ (∂ˣ * (∂ˣ * P))

0 commit comments

Comments
 (0)