Skip to content

Commit

Permalink
PEC: Fix Uninit Var Warning (GCC)
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jan 3, 2025
1 parent ff1c5b4 commit 2ea9c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BoundaryConditions/PEC_Insulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace
bool GuardCell = false;
bool isInsulatorBoundary = false;
amrex::Real sign = +1._rt;
bool is_normal_to_boundary;
bool is_normal_to_boundary = false;
amrex::Real field_value = 0._rt;
bool set_field = false;
// Loop over all dimensions
Expand Down

0 comments on commit 2ea9c80

Please sign in to comment.