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

pickle operator reconstruction leads to slightly different code #2201

Open
mloubout opened this issue Sep 8, 2023 · 0 comments
Open

pickle operator reconstruction leads to slightly different code #2201

mloubout opened this issue Sep 8, 2023 · 0 comments
Assignees

Comments

@mloubout
Copy link
Contributor

mloubout commented Sep 8, 2023

In some case the pickling leads to miss-reconstruction of -1 with differences like

  - loat px = -floor((-o_x + src_coords[p_src][0])/h_x) + (-o_x + src_coords[p_src][0])/h_x;
  + loat px = (-1)*floor((-o_x + src_coords[p_src][0])/h_x) + (-o_x + src_coords[p_src][0])/h_x;

In test_pickle.py::TestOperator::test_usave_sampled

@mloubout mloubout self-assigned this Sep 8, 2023
@FabioLuporini FabioLuporini self-assigned this Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants