]> https://gitweb.dealii.org/ - dealii.git/commit
Safety update in initialize: the loops terminated more or less by chance, the only...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 28 Feb 1999 19:29:00 +0000 (19:29 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 28 Feb 1999 19:29:00 +0000 (19:29 +0000)
commite17255bd00526387378c973649157bf25cc41c40
treede6a967307b5a3a96ca02f39c5237a752427b811
parent6ac5b0be976477edf10ddacc80968275b88ce6d0
Safety update in initialize: the loops terminated more or less by chance, the only reason was the initialization of the loop variable to zero, so the initial test failed. The loop condition was ill-designed, though, since comparing an unsigned int to be smaller with something that may be zero asks for problems. The patch clarifies why the loop worked anyway, and since this computation is done at compile time, it does not even impose a penalty to the user.

git-svn-id: https://svn.dealii.org/trunk@928 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/deal.II/source/fe/fe_system.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.