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

Improve checking in coords constructor #2650

Merged
merged 6 commits into from
Apr 19, 2023
Merged

Improve checking in coords constructor #2650

merged 6 commits into from
Apr 19, 2023

Conversation

dschwoerer
Copy link
Contributor

No description provided.

@dschwoerer dschwoerer added the small-change Changes less than 100 lines - should be quick to review label Feb 8, 2023
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Show resolved Hide resolved
Copy link
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dschwoerer, I'm always in favour of obvious helper functions like this! Just some small changes to make clang-tidy happy

src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
@dschwoerer
Copy link
Contributor Author

Thanks! I was wondering whether clang-tidy would post a corrected version of the suggestion (and then forgot) 👍

@dschwoerer
Copy link
Contributor Author

734 conflicts, over 10k changed lines, over 200 files changed - that used to be a small change. Thanks clang-tidy!

I have rebased (removing clang-tidy commits) and force pushed - maybe it works now ...

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/mesh/coordinates.cxx Show resolved Hide resolved
src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
Co-authored-by: Peter Hill <peter.hill@york.ac.uk>
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

include/bout/coordinates.hxx Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@ZedThree ZedThree merged commit 7c5e51b into next Apr 19, 2023
@ZedThree ZedThree deleted the coords-checking branch April 19, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small-change Changes less than 100 lines - should be quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants