-
Notifications
You must be signed in to change notification settings - Fork 13
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
Test deprecation warning #518
base: master
Are you sure you want to change the base?
Conversation
PR Description updated to latest commit (4c3ffd0) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
Type
bug_fix, enhancement
Description
np.product
withnp.prod
indV
method ofmesh.py
to avoidDeprecationWarning
.field.plane
tofield.sel
intest_interact.py
for proper functionality.topological_charge
function intools.py
to ensure the result fromintegrate
is always a scalar and added assertion for scalar result validation.Changes walkthrough
mesh.py
Avoid DeprecationWarning in mesh.dV
discretisedfield/mesh.py
np.product
withnp.prod
indV
method to avoidDeprecationWarning
.test_interact.py
Correct Method Call in Test Interact
discretisedfield/tests/test_interact.py
field.plane
tofield.sel
inmyplot
function to correct methodcall.
tools.py
Ensure Scalar Result from Integrate Function
discretisedfield/tools/tools.py
integrate
function by checking if result isnp.ndarray
and converting to scalar.integrate
is scalar.