Cactus: replace calls to assert(false) with CCTK_Error
Steven R. Brandt
Branch: no-assert-false
Branch: master
Merged
Merged pull request
Cactus: use CCTK_ERROR to report user errors instead of assert
Cactus: use CCTK_ERROR to report user errors instead of assert
This PR replaces calls to assert(false) with a call to CCTK_Error, handling the case where assert(false) does not abort.
Fixes ticket: https://bitbucket.org/einsteintoolkit/tickets/issues/2052/piraha-assumes-that-assert-false-always
Â