]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Safety update in initialize: the loops terminated more or less by chance, the only...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 28 Feb 1999 19:29:00 +0000 (19:29 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 28 Feb 1999 19:29:00 +0000 (19:29 +0000)
commit4a2f66d29d42d2ecab8e0e8b92738062797fd2e3
tree8decafd3bcd4524a9f25b48633a962714b865af6
parent06b517b26f2a74781b9492fc02011b584d5b47d6
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.