Skip to content

Commit c65570d

Browse files
committed
Allow matrix of points
1 parent 51d2ad9 commit c65570d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/constructors.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ end
3838

3939
# default_Fun is the default constructor, based on evaluation and transforms
4040
# last argument is whether to splat or not
41-
default_Fun(::Type{T},f,d::Space{ReComp},pts::AbstractVector,::Type{Val{true}}) where {T,ReComp} =
41+
default_Fun(::Type{T},f,d::Space{ReComp},pts::AbstractArray,::Type{Val{true}}) where {T,ReComp} =
4242
Fun(d,transform(d,T[f(x...) for x in pts]))
4343

44-
default_Fun(::Type{T},f,d::Space{ReComp},pts::AbstractVector,::Type{Val{false}}) where {T,ReComp} =
44+
default_Fun(::Type{T},f,d::Space{ReComp},pts::AbstractArray,::Type{Val{false}}) where {T,ReComp} =
4545
Fun(d,transform(d,broadcast!(f, similar(pts, T), pts)))
4646

4747

0 commit comments

Comments
 (0)