Skip to content

Commit

Permalink
Make variable const
Browse files Browse the repository at this point in the history
  • Loading branch information
cscjlan committed Nov 12, 2024
1 parent 1e67960 commit 332227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ template <typename T, int32_t stencil> class FsGrid {
const Coordinates coordinates = {};

//!< Task position to task mapping
std::vector<int32_t> tasks = {};
const std::vector<int32_t> tasks = {};

//!< Lookup table from index to rank in the neighbour array (includes self)
const std::array<int32_t, 27> neighbourIndexToRank = {
Expand Down

0 comments on commit 332227d

Please sign in to comment.