]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Clarify.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Nov 1999 15:35:14 +0000 (15:35 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Nov 1999 15:35:14 +0000 (15:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@1862 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/Todo

index 77a2b39e12e2c83ade2f9156438fd02f38562a47..ab7c9901a45bb09d2295bb869e88e985f4030ae6 100644 (file)
@@ -10,7 +10,10 @@ Let all the reinit functions in /lac free their memory, if reinit
 
 Use unsigned integers for the colnums array in dSMatrixStruct. This
   would enhance safety since colnum=-1 would no longer point to a
-  valid address. How do you mark non-used columns? (gk)
+  valid address. Mark unused values by numeric_limits<uint>::max
+  (or some such constant) instead, which probably has the same
+  bit representation as (uint)-1, but is an unsigned, therefore
+  eliminating the need for conversions.
 
 
 Let dSMatrixStruct::compress free the memory of colnums which is

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.