Skip to content

Commit 3975a6a

Browse files
authored
remove unbound type parameter (#196)
I didn't check, but unbound type parameters often cause performance issues, so this may not be merely cosmetic.
1 parent 366d2ba commit 3975a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spaces/ConstantSpace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ coefficients(f::AbstractVector,sp::ConstantSpace{Segment{Vec{2,TT}}},
133133
ts::TensorSpace{SV,DD}) where {TT,SV,DD<:EuclideanDomain{2}} =
134134
f[1]*ones(ts).coefficients
135135
coefficients(f::AbstractVector,sp::ConstantSpace{<:Domain{<:Number}},
136-
ts::TensorSpace{SV,DD}) where {TT,SV,DD<:EuclideanDomain{2}} =
136+
ts::TensorSpace{SV,DD}) where {SV,DD<:EuclideanDomain{2}} =
137137
f[1]*ones(ts).coefficients
138138
coefficients(f::AbstractVector, sp::ConstantSpace{<:Domain{<:Number}}, ts::Space) =
139139
f[1]*ones(ts).coefficients

0 commit comments

Comments
 (0)