Cactus: replace calls to assert(false) with CCTK_Error

Merged
#154 · Created  · Last updated

Merged pull request

Cactus: use CCTK_ERROR to report user errors instead of assert

985f755·Author: ·Closed by: ·2023-05-02

Description

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

 

0 attachments

0 comments

Loading commits...