Skip to content

BUG: Polynomials now copy properly (#22669)#22866

Merged
charris merged 2 commits intonumpy:maintenance/1.24.xfrom
charris:backport-22670
Dec 22, 2022
Merged

BUG: Polynomials now copy properly (#22669)#22866
charris merged 2 commits intonumpy:maintenance/1.24.xfrom
charris:backport-22670

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Dec 22, 2022

Backport of #22670.

On line 502, self.symbol.copy() was called, which
causes an AttributeError, since self.symbol is a
string, so it doesn't have a copy() method. To fix it,
I simply removed the copy() and directly assigned the string.

On line 502, self.symbol.copy() was called, which
causes an AttributeError, since self.symbol is a
string, so it doesn't have a copy() method. To fix
it, I simply removed the copy() and directly assigned
the string.
@charris charris added this to the 1.24.1 release milestone Dec 22, 2022
@charris charris merged commit 38046ce into numpy:maintenance/1.24.x Dec 22, 2022
@charris charris deleted the backport-22670 branch December 22, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants