File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,15 +126,15 @@ sizeof{T<:FixedPoint}(::Type{T}) = sizeof(rawtype(T))
126126
127127# Promotions for reductions
128128const Treduce = Float64
129- r_promote {T} (:: typeof (@functorize ( + ) ), x:: FixedPoint{T} ) = Treduce (x)
130- r_promote {T} (:: typeof (@functorize ( * ) ), x:: FixedPoint{T} ) = Treduce (x)
129+ r_promote {T} (:: typeof (+ ), x:: FixedPoint{T} ) = Treduce (x)
130+ r_promote {T} (:: typeof (* ), x:: FixedPoint{T} ) = Treduce (x)
131131
132- reducedim_init {T<:FixedPoint} (f:: typeof (@functorize ( identity) ),
133- op:: typeof (@functorize ( + ) ),
132+ reducedim_init {T<:FixedPoint} (f:: typeof (identity),
133+ op:: typeof (+ ),
134134 A:: AbstractArray{T} , region) =
135135 reducedim_initarray (A, region, zero (Treduce))
136- reducedim_init {T<:FixedPoint} (f:: typeof (@functorize ( identity) ),
137- op:: typeof (@functorize ( * ) ),
136+ reducedim_init {T<:FixedPoint} (f:: typeof (identity),
137+ op:: typeof (* ),
138138 A:: AbstractArray{T} , region) =
139139 reducedim_initarray (A, region, one (Treduce))
140140
You can’t perform that action at this time.
0 commit comments