New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add min_magnitude
& max_magnitude
passthrough in complex-valued from_dtype()
#3570
Add min_magnitude
& max_magnitude
passthrough in complex-valued from_dtype()
#3570
Conversation
There is again a problem with RELEASE.rst. 🙃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really appreciate you working on these issues :)
Things are looking good! I'll have a proper look later on if Zac doesn't get round to it heh.
Also ICYMI, you can use ./build.sh format
at the root of the repository to run the linters locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments left, but this looks great - thanks again Felix!
OK, looks like there's one remaining test failure due to this new passthrough logic for width.
|
This is still the case. Should I change anything else? |
Ah, you'll need to create that file with your changelog entry for this PR. I'd suggest something like: RELEASE_TYPE: minor
This release allows for more precise generation of complex numbers using
:func:`~hypothesis.extra.numpy.from_dtype`, by supporting the ``width``,
``min_magnitude``, and ``min_magnitude`` arguments (:issue:`3468`).
Thanks to Felix Divo for this feature! The underlying cause: it looks like you branched off from a point where we'd merged a previous PR to master, but not yet finished deploying that release. This is a known issue but we can't easily fix it until merge queues are available 😥 - until then we'll just have to deal with occasionally rebasing or fixing merge conflicts by hand. |
@Zac-HD I now replaced the currently present file. I hope that was correct. I don't have sufficient access rights to resolve the conflict though ^^. And thanks for the kind note. 😊 |
Not quite - you'll need to |
…upport complex256 dtype
a5a039e
to
487f809
Compare
Resolved @Zac-HD :) |
133944a
to
3b4918f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 let's ship it!
Closes #3468.