← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Use assert from <cassert> instead of homemade version.

 



Anders Logg wrote:
Maybe we should then just use assert() instead of dolfin_assert()?

It should be possible to just do

  scripts/dolfinreplace dolfin_assert assert


Yes, that would be good. assert(..) would not have worked before because we had our debug flags all screwed up (I know this from a painful experience where assert() failed to pick up some errors).

Garth



------------------------------------------------------------------------

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




References