Skip to content

Commit

Permalink
Update game-of-life-size_t-indexes.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus authored Aug 8, 2024
1 parent a46b9cc commit 0288f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parallel_algorithms/game-of-life-size_t-indexes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ template <std::size_t value> using min_int_t = decltype(min_int<value>());
template <std::size_t Width, std::size_t Height> struct GameBoard {
// These are the properly sized things necessary to hold coordinates
// that work with this particular size of board
using x_index_t = min_int_t<Width>;
using y_index_t = min_int_t<Height>;
using x_index_t = std::int64_t;
using y_index_t = std::int64_t;

static constexpr std::size_t width = Width;
static constexpr std::size_t height = Height;
Expand Down

0 comments on commit 0288f63

Please sign in to comment.