Open kubagalecki opened 9 months ago
See e.g.:
https://github.com/CFD-GO/TCLB/blob/323924b1e284de04ecb76bd890956ffdd3a83b6a/src/cross.h#L250
Program logic should not depend on the contents of assert statements, since they will be #ifdefed out in a release (-DNDEBUG) build. This happens in multiple places in the code.
assert
#ifdef
-DNDEBUG
See e.g.:
https://github.com/CFD-GO/TCLB/blob/323924b1e284de04ecb76bd890956ffdd3a83b6a/src/cross.h#L250
Program logic should not depend on the contents of
assert
statements, since they will be#ifdef
ed out in a release (-DNDEBUG
) build. This happens in multiple places in the code.