@@ -198,7 +198,7 @@ canonicaldomain(f::ProductFun) = canonicaldomain(space(f))
198
198
function canonicalevaluate (f:: ProductFun{S,V,SS,T} ,x:: Number ,:: Colon ) where {S,V,SS,T}
199
199
cd = canonicaldomain (f)
200
200
Fun (setdomain (factor (space (f),2 ),factor (cd,2 )),
201
- T [setdomain (fc,factor (cd,1 ))(x) for fc in f. coefficients])
201
+ [setdomain (fc,factor (cd,1 ))(x) for fc in f. coefficients])
202
202
end
203
203
canonicalevaluate (f:: ProductFun ,x:: Number ,y:: Number ) = canonicalevaluate (f,x,:)(y)
204
204
canonicalevaluate (f:: ProductFun{S,V,SS} ,x:: Colon ,y:: Number ) where {S,V,SS<: TensorSpace } =
@@ -213,7 +213,7 @@ evaluate(f::ProductFun,x,y,z) = canonicalevaluate(f,tocanonical(f,x,y,z)...)
213
213
214
214
# TensorSpace does not use map
215
215
evaluate (f:: ProductFun{S,V,SS,T} ,x:: Number ,:: Colon ) where {S<: UnivariateSpace ,V<: UnivariateSpace ,SS<: TensorSpace ,T} =
216
- Fun (factor (space (f),2 ),T [g (x) for g in f. coefficients])
216
+ Fun (factor (space (f),2 ),[g (x) for g in f. coefficients])
217
217
218
218
evaluate (f:: ProductFun{S,V,SS,T} ,x:: Number ,y:: Number ) where {S<: UnivariateSpace ,V<: UnivariateSpace ,SS<: TensorSpace ,T} =
219
219
evaluate (f,x,:)(y)
0 commit comments