← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5592: Add some asserts

 

Speaking of asserts...

I just want to re-iterate the feature request from Joachim about using 
exception instead than assert, as an assert will crash a Python session. I 
think we had a dolfin_assert that did that a while ago. 

Why was this removed?

Johan


On Thursday January 27 2011 13:23:30 noreply@xxxxxxxxxxxxx wrote:
> ------------------------------------------------------------
> revno: 5592
> committer: Anders Logg <logg@xxxxxxxxx>
> branch nick: dolfin
> timestamp: Thu 2011-01-27 22:21:17 +0100
> message:
>   Add some asserts
> modified:
>   dolfin/fem/DofMap.cpp
>   dolfin/fem/FiniteElement.cpp
> 
> 
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
> 
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to
> https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription



Follow ups