Skip to content

Commit 6e10fd9

Browse files
authored
improve in inference in mulvar ops (#245)
1 parent 8347296 commit 6e10fd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PDE/KroneckerOperator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function Derivative(S::TensorSpace{SV,DD}, order) where {SV,DD<:EuclideanDomain{
271271
T=promote_type(eltype(Dx),eltype(Dy))
272272
end
273273
# try to work around type inference
274-
DerivativeWrapper{typeof(K),typeof(domainspace(K)),Vector{Int},T}(K,order)
274+
DerivativeWrapper{typeof(K),typeof(S),Vector{Int},T}(K,order)
275275
end
276276

277277

src/PDE/PDE.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function Laplacian(d::BivariateSpace,k::Integer)
1313
Dx2=Derivative(d, Vec{2}(2,0))
1414
Dy2=Derivative(d, Vec{2}(0,2))
1515
if k==1
16-
LaplacianWrapper(Dx2+Dy2,k)
16+
LaplacianWrapper(Dx2+Dy2,d,k)
1717
else
1818
@assert k > 0
1919
Δ=Laplacian(d,1)

0 commit comments

Comments
 (0)