On Thu, 6 Dec 2012, Derek Gaston wrote:
This is what I was thinking as well... although why wrap it in
NDEBUG? This isn't time sensitive... so we should probably just
always do this check.
My general rule is not to do self-testing in opt mode when that
testing has any time or memory cost.
Now that you got me to think about it: in this case the costs are "a
handful of operations and one word of memory per EquationSystems
object" and so my general rule is probably insanely wrong; testing
every time is the way to go.
---
Roy
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users