Skip to content
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

Port to actx.np.zeros #423

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Port to actx.np.zeros #423

merged 3 commits into from
Aug 6, 2024

Conversation

alexfikl
Copy link
Collaborator

@alexfikl alexfikl commented Aug 6, 2024

Plus two unrelated commits that popped out while grepping for actx.zeros 😁

Comment on lines +478 to +477
warn(f"'{type(self).__name__}.empty' is deprecated and will be removed "
f"in 2025. Use '{type(self).__name__}.zeros' instead.",
DeprecationWarning, stacklevel=2)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also adds a warning that Discretization.empty is deprecated following arraycontext.

@inducer inducer merged commit 5eb0310 into inducer:main Aug 6, 2024
12 checks passed
@inducer
Copy link
Owner

inducer commented Aug 6, 2024

Thx!

@alexfikl alexfikl deleted the port-actx-empty branch August 6, 2024 15:50
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