Fix inverted logic.
Symbol NDEBUG is *defined* in release mode.
This commit is contained in:
@@ -627,7 +627,7 @@ ind2sub(const size_t nx,
|
||||
{
|
||||
assert (c < (nx * ny * nz));
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
#if defined(NDEBUG)
|
||||
(void) nz;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user