@@ -176,11 +176,7 @@ function deg0_eval(
176176end
177177
178178function deg1_l2_ll0_lr0_eval (
179- tree:: Node{T} ,
180- cX:: AbstractMatrix{T} ,
181- op:: F ,
182- op_l:: F2 ,
183- :: Val{turbo} ,
179+ tree:: Node{T} , cX:: AbstractMatrix{T} , op:: F , op_l:: F2 , :: Val{turbo}
184180):: Tuple{AbstractVector{T},Bool} where {T<: Real ,F,F2,turbo}
185181 n = size (cX, 2 )
186182 if tree. l. l. constant && tree. l. r. constant
230226
231227# op(op2(x)) for x variable or constant
232228function deg1_l1_ll0_eval (
233- tree:: Node{T} ,
234- cX:: AbstractMatrix{T} ,
235- op:: F ,
236- op_l:: F2 ,
237- :: Val{turbo} ,
229+ tree:: Node{T} , cX:: AbstractMatrix{T} , op:: F , op_l:: F2 , :: Val{turbo}
238230):: Tuple{AbstractVector{T},Bool} where {T<: Real ,F,F2,turbo}
239231 n = size (cX, 2 )
240232 if tree. l. l. constant
@@ -522,9 +514,13 @@ function _eval_tree_array_generic(
522514 end
523515 end
524516 elseif tree. degree == 1
525- return deg1_eval_generic (tree, cX, operators. unaops[tree. op], operators, Val (throw_errors))
517+ return deg1_eval_generic (
518+ tree, cX, operators. unaops[tree. op], operators, Val (throw_errors)
519+ )
526520 else
527- return deg2_eval_generic (tree, cX, operators. binops[tree. op], operators, Val (throw_errors))
521+ return deg2_eval_generic (
522+ tree, cX, operators. binops[tree. op], operators, Val (throw_errors)
523+ )
528524 end
529525end
530526
0 commit comments