Skip to content

Commit

Permalink
silence clang-tidy in conductivity (#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored May 6, 2024
1 parent c89e334 commit adba4f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions conductivity/stellar/actual_conductivity.H
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ actual_conductivity (T& state)
amrex::Real ytot1 = 0.0e0_rt;

// set the composition variables
amrex::Real w[6];
for (int i = 0; i < 6; i++) {
w[i] = 0.0e0_rt;
}
amrex::Real w[6] = {0.0};

// the idea here is that w[0] is H, w[1] is He, and w[2] is metals
for (int i = 0; i < NumSpec; i++) {
Expand Down

0 comments on commit adba4f9

Please sign in to comment.