Skip to content

Commit 6538a64

Browse files
committed
silence clang-tidy in conductivity
1 parent c89e334 commit 6538a64

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

conductivity/stellar/actual_conductivity.H

+1-4
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ actual_conductivity (T& state)
8080
amrex::Real ytot1 = 0.0e0_rt;
8181

8282
// set the composition variables
83-
amrex::Real w[6];
84-
for (int i = 0; i < 6; i++) {
85-
w[i] = 0.0e0_rt;
86-
}
83+
amrex::Real w[6] = {0.0};
8784

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

0 commit comments

Comments
 (0)