[go: nahoru, domu]

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

Define rcompare and rprint_diff for FieldVectors #1886

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

charleskawczynski
Copy link
Member

This PR defines two user-facing pieces:

  • A function, rcompare(...)::Bool, indicating that two fieldvectors recursively satisfy ==
  • A macro, rprint_diff, which prints differences between two fieldvectors (only when == fails)

These are meant to be used for debugging and testing.

src/Fields/fieldvector.jl Show resolved Hide resolved
@charleskawczynski charleskawczynski merged commit f248a6e into main Jul 16, 2024
17 of 19 checks passed
@charleskawczynski charleskawczynski deleted the ck/compare branch July 16, 2024 18:37
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.

None yet

2 participants