@@ -241,7 +241,7 @@ function MA.promote_operation(
241241) where {S,T}
242242 UT = MA. promote_operation (* , monomial_type (TT), monomial_type (ST))
243243 U = MA. promote_operation (* , S, T)
244- return promote_operation_constant (* , U, UT)
244+ return promote_operation_left_constant (* , U, UT)
245245end
246246function MA. promote_operation (
247247 :: typeof (* ),
@@ -250,34 +250,34 @@ function MA.promote_operation(
250250) where {S,T}
251251 UP = MA. promote_operation (* , monomial_type (PT), monomial_type (QT))
252252 U = MA. promote_sum_mul (S, T)
253- return polynomial_type (promote_operation_constant (* , U, UP))
253+ return polynomial_type (promote_operation_left_constant (* , U, UP))
254254end
255255
256- function promote_operation_constant (
256+ function promote_operation_left_constant (
257257 :: typeof (* ),
258258 :: Type{T} ,
259259 :: Type{M} ,
260260) where {T,M<: AbstractMonomialLike }
261261 return term_type (M, T)
262262end
263263
264- function promote_operation_constant (
264+ function promote_operation_right_constant (
265265 :: typeof (* ),
266266 :: Type{M} ,
267267 :: Type{T} ,
268268) where {T,M<: AbstractMonomialLike }
269269 return term_type (M, T)
270270end
271271
272- function promote_operation_constant (
272+ function promote_operation_left_constant (
273273 :: typeof (* ),
274274 :: Type{T} ,
275275 :: Type{P} ,
276276) where {T,U,P<: _APL{U} }
277277 return similar_type (P, MA. promote_operation (* , T, U))
278278end
279279
280- function promote_operation_constant (
280+ function promote_operation_right_constant (
281281 :: typeof (* ),
282282 :: Type{P} ,
283283 :: Type{T} ,
@@ -290,15 +290,15 @@ function MA.promote_operation(
290290 :: Type{T} ,
291291 :: Type{P} ,
292292) where {T,P<: _APL }
293- return promote_operation_constant (* , T, P)
293+ return promote_operation_left_constant (* , T, P)
294294end
295295
296296function MA. promote_operation (
297297 :: typeof (* ),
298298 :: Type{P} ,
299299 :: Type{T} ,
300300) where {T,P<: _APL }
301- return promote_operation_constant (* , P, T)
301+ return promote_operation_right_constant (* , P, T)
302302end
303303
304304function MA. promote_operation (
0 commit comments