diff options
Diffstat (limited to 'extern/mantaflow/preprocessed/grid.h')
-rw-r--r-- | extern/mantaflow/preprocessed/grid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extern/mantaflow/preprocessed/grid.h b/extern/mantaflow/preprocessed/grid.h index cf942a19e9a..3d6f8558b8f 100644 --- a/extern/mantaflow/preprocessed/grid.h +++ b/extern/mantaflow/preprocessed/grid.h @@ -596,6 +596,7 @@ template<class T> class Grid : public GridBase { //! set data inline void set(int i, int j, int k, T &val) { + DEBUG_ONLY(checkIndex(i, j, k)); mData[index(i, j, k)] = val; } |