Skip to content

Commit

Permalink
fixed order to eliminate warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard-giroux committed Oct 25, 2023
1 parent 5276896 commit 55c08fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ttcr/Grid2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ namespace ttcr {
class Grid2D {
public:
Grid2D(const size_t ncells, const bool ttrp, const size_t nt=1, const bool up=1) :
nThreads(nt), usePool(up), tt_from_rp(ttrp),
neighbors(std::vector<std::vector<T2>>(ncells))
nThreads(nt), tt_from_rp(ttrp), neighbors(std::vector<std::vector<T2>>(ncells)),
usePool(up)
{
if ( nThreads > 1 && usePool ) {
pool.resize(static_cast<int>(nThreads));
Expand Down

0 comments on commit 55c08fb

Please sign in to comment.