Skip to content

Fix particle dual-grid test#5255

Merged
ax3l merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:fix_particle_dual_grid_test
Mar 30, 2026
Merged

Fix particle dual-grid test#5255
ax3l merged 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:fix_particle_dual_grid_test

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

@WeiqunZhang WeiqunZhang commented Mar 30, 2026

For floating-point number comparison, use amrex::almostEqual instead of ==.

For int data, cast them to amrex::Long instead of amrex::Real (which might be float) before reduction.

Follow-up to #5204

For floating-point number comparison, use amrex::almostEqual instead of ==.

For int data, cast them to amrex::Long instead of amrex::Real (which might be float) before reduction.
@WeiqunZhang
Copy link
Copy Markdown
Member Author

/run-hpsf-gitlab-ci

@github-actions
Copy link
Copy Markdown

GitLab CI has started at https://gitlab.spack.io/amrex/amrex/-/pipelines/1499320.

@amrex-gitlab-ci-reporter
Copy link
Copy Markdown

GitLab CI 1499320 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1499320.

@ax3l ax3l added the bug label Mar 30, 2026
@ax3l
Copy link
Copy Markdown
Member

ax3l commented Mar 30, 2026

Thank you! :)

@ax3l ax3l merged commit d74cd5c into AMReX-Codes:development Mar 30, 2026
74 checks passed
@WeiqunZhang WeiqunZhang deleted the fix_particle_dual_grid_test branch March 30, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants