@@ -241,7 +241,7 @@ function MA.promote_operation(
241
241
) where {S,T}
242
242
UT = MA. promote_operation (* , monomial_type (TT), monomial_type (ST))
243
243
U = MA. promote_operation (* , S, T)
244
- return promote_operation_constant (* , U, UT)
244
+ return promote_operation_left_constant (* , U, UT)
245
245
end
246
246
function MA. promote_operation (
247
247
:: typeof (* ),
@@ -250,34 +250,34 @@ function MA.promote_operation(
250
250
) where {S,T}
251
251
UP = MA. promote_operation (* , monomial_type (PT), monomial_type (QT))
252
252
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))
254
254
end
255
255
256
- function promote_operation_constant (
256
+ function promote_operation_left_constant (
257
257
:: typeof (* ),
258
258
:: Type{T} ,
259
259
:: Type{M} ,
260
260
) where {T,M<: AbstractMonomialLike }
261
261
return term_type (M, T)
262
262
end
263
263
264
- function promote_operation_constant (
264
+ function promote_operation_right_constant (
265
265
:: typeof (* ),
266
266
:: Type{M} ,
267
267
:: Type{T} ,
268
268
) where {T,M<: AbstractMonomialLike }
269
269
return term_type (M, T)
270
270
end
271
271
272
- function promote_operation_constant (
272
+ function promote_operation_left_constant (
273
273
:: typeof (* ),
274
274
:: Type{T} ,
275
275
:: Type{P} ,
276
276
) where {T,U,P<: _APL{U} }
277
277
return similar_type (P, MA. promote_operation (* , T, U))
278
278
end
279
279
280
- function promote_operation_constant (
280
+ function promote_operation_right_constant (
281
281
:: typeof (* ),
282
282
:: Type{P} ,
283
283
:: Type{T} ,
@@ -290,15 +290,15 @@ function MA.promote_operation(
290
290
:: Type{T} ,
291
291
:: Type{P} ,
292
292
) where {T,P<: _APL }
293
- return promote_operation_constant (* , T, P)
293
+ return promote_operation_left_constant (* , T, P)
294
294
end
295
295
296
296
function MA. promote_operation (
297
297
:: typeof (* ),
298
298
:: Type{P} ,
299
299
:: Type{T} ,
300
300
) where {T,P<: _APL }
301
- return promote_operation_constant (* , P, T)
301
+ return promote_operation_right_constant (* , P, T)
302
302
end
303
303
304
304
function MA. promote_operation (
0 commit comments