-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix None
value in Pushforward
#393
Conversation
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.
Good catch!
AFAIK the Pushforward
class is only used by the PostProcessManager
class (which always passes grid_local
to it) and nowhere else in Psydac. So it is only tested indirectly in file test_postprocessing.py. So how did you find this bug?
It is used in the code for conga polar splines |
I see... 😅... I must have decided to use it because it is quite a bit faster than the algorithms in The docstring of |
Increase relative and absolute tolerances in `test_stencil_matrix_2d_serial_vdot`, which uses random numbers and often fails with complex values.
@campospinto I have increased the tolerance in the failing unit test. Hopefully our workflows will pass now. |
there was a small bug in the Pushforward function, when no
grid_local
was passed for a mapping ofMapping
typeI also added a unit test