Skip to content

Commit

Permalink
Update src/dft.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
  • Loading branch information
oskooi and stevengj authored Oct 23, 2021
1 parent 95cecde commit 3fff7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ double dft_chunk::norm2() const {
// return the maximum decimation factor across
// all dft regions
int fields::max_decimation() const {
int maxdec = std::numeric_limits<int>::min();
int maxdec = 1;
for (int i = 0; i < num_chunks; i++)
if (chunks[i]->is_mine())
maxdec = std::max(maxdec, chunks[i]->max_decimation());
Expand Down

0 comments on commit 3fff7ac

Please sign in to comment.