dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07121
Re: assert
On Thu, Apr 03, 2008 at 07:15:47PM +0200, Garth N. Wells wrote:
> I just picked up some problems in my code because I painstakingly used
> 'assert' rather than 'dolfin_assert'. What I'm wondering is
>
> - Where is assert declared?
Not anywhere in DOLFIN as far as I can see. It's in assert.h and
that's not included anywhere either.
> - Why didn't assert work? Is it because we use '-DNDEBUG'? (which is
> necessary to make uBLAS run reasonably)
Don't know.
--
Anders
Follow ups
References
-
assert
From: Garth N. Wells, 2008-04-03