]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Fix a stupid bug triggered by Ralf: we delete the memory of a matrix if its size...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Dec 1998 17:59:38 +0000 (17:59 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Dec 1998 17:59:38 +0000 (17:59 +0000)
commitc251f559c94cb32711475bb0e014a1653be56e18
treef72f3ac8c506aaf50555c006fe12a602759e8f3d
parentb40999ad700faba690d9b3573261eec0e7a2c2eb
Fix a stupid bug triggered by Ralf: we delete the memory of a matrix if its size is reset to zero. We check so by comparing the number of elements, which is m*n against zero. Annoyingly, m*n equals zero also, if m=n=2**16...

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