Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add FQP.copy() #46

Open
carver opened this issue Jan 23, 2019 · 0 comments
Open

Add FQP.copy() #46

carver opened this issue Jan 23, 2019 · 0 comments

Comments

@carver
Copy link
Collaborator

carver commented Jan 23, 2019

For a follow-up PR: I think this could be made a tiny bit more readable by adding a copy() method that takes the new coefficients, turning the line into:

return self.copy([x + y for x, y in  zip(self.coeffs, other.coeffs)])

From the current:

return type(self)([x + y for x, y in  zip(self.coeffs, other.coeffs)], self.curve_name)

Originally posted by @carver in #41

pacrob pushed a commit to pacrob/py_ecc that referenced this issue Oct 29, 2023
…-and-lint-deps

Update testing and lint deps
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant