Skip to content

Commit

Permalink
DRR: Mute the codecheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
HanatoK committed Apr 22, 2023
1 parent 347cd8e commit 9a2999c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drr/DRR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void CZAR:: writeZCountZGrad(const string &filename, bool addition) const {
fprintf(pGrad, " %.9f", table[j][i]);
}
const size_t baseaddr = sampleAddress(pos);
const size_t current_sample = samples[baseaddr];
const auto& current_sample = samples[baseaddr];
fprintf(pCount, " %lu\n", current_sample);
if (current_sample == 0) {
for (size_t j = 0; j < ndims; ++j) {
Expand Down

0 comments on commit 9a2999c

Please sign in to comment.