]> https://gitweb.dealii.org/ - dealii.git/commit
Add an assertion. 698/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 28 Mar 2015 03:21:25 +0000 (22:21 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 28 Mar 2015 04:49:04 +0000 (23:49 -0500)
commit4ccd763781d92f36c1cef99701332e338bfa8144
tree32df8ea5297475fc5baa740d5c6a1a146d1a7721
parentd066bc13f3aee4af2def9d7443a6172ccd7abb75
Add an assertion.

Spencer Patty ran into this today: if you try to create a
Trilinos SparsityPattern class where the IndexSets do not
exactly add up, Trilinos somewhere deep down throws an
exception of a type that we do not catch in typical
main() functions (because it is not derived from std::exception).
This leads to impossible to debug problems if you don't happen
to still have the Trilinos sources around and know how to set
breakpoints on all 'throw' statements. Better catch stuff like
this ourselves.
include/deal.II/base/index_set.h
source/base/index_set.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.