Skip to content

Conversation

@EZoni
Copy link
Member

@EZoni EZoni commented Sep 19, 2024

While reviewing #5285, I noticed that #4937 did not pass our 3D clang-tidy check, which is currently failing in development:

The RZ check was skipped due to the 3D one failing, so that might bring up issues too.

The clang-tidy errors fixed so far are:

  • /home/runner/work/WarpX/WarpX/Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp:196:5: error: variable 'local_boxid' of type 'int' can be declared 'const' [misc-const-correctness,-warnings-as-errors]
  • /home/runner/work/WarpX/WarpX/Source/ablastr/fields/IntegratedGreenFunctionSolver.cpp:201:9: error: variable 'local_nodal_box' of type 'amrex::Box' (aka 'BoxND<3>') can be declared 'const' [misc-const-correctness,-warnings-as-errors]

Copy link
Member

@aeriforme aeriforme left a comment

Choose a reason for hiding this comment

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

Noted, thank you!
I confirm it works

Copy link
Member

@lucafedeli88 lucafedeli88 left a comment

Choose a reason for hiding this comment

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

Thanks, @EZoni !

@lucafedeli88 lucafedeli88 merged commit d85cc04 into BLAST-WarpX:development Sep 19, 2024
@EZoni EZoni deleted the fix_clang_tidy_3d branch September 19, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tests Tests and CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants