Skip to content

Replace deprecated Base.promote_op usage#196

Closed
blegat wants to merge 1 commit into
masterfrom
fix/replace-promote-op
Closed

Replace deprecated Base.promote_op usage#196
blegat wants to merge 1 commit into
masterfrom
fix/replace-promote-op

Conversation

@blegat

@blegat blegat commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace Base.promote_op(f, Int) with typeof(f(0)) in Polynomial{V,M} constructor
  • Replace Base.promote_op(+, T, T) with MA.promote_operation(+, T, T) in MP.polynomial

Base.promote_op is deprecated in Julia pre-release, causing CI failures with depwarn=error.

Test plan

  • CI passes on julia-pre

https://claude.ai/code/session_01SGAgzkbRVNAL51y3Fo9fni

Base.promote_op is deprecated in Julia pre-release. Replace with
typeof(f(0)) for the function constructor and MA.promote_operation
for the matrix polynomial constructor.

https://claude.ai/code/session_01SGAgzkbRVNAL51y3Fo9fni
@blegat blegat closed this Apr 3, 2026
@blegat blegat reopened this Apr 3, 2026
@blegat blegat closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants