From: Wolfgang Bangerth Date: Mon, 4 May 1998 08:39:34 +0000 (+0000) Subject: . X-Git-Tag: v8.0.0~23014 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d905b501c073028aeaaf47a3a574428aa02b12e0;p=dealii.git . git-svn-id: https://svn.dealii.org/trunk@240 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Todo b/deal.II/deal.II/Todo index 49f76324f1..15902cb0d6 100644 --- a/deal.II/deal.II/Todo +++ b/deal.II/deal.II/Todo @@ -100,13 +100,7 @@ Why are there all these unsafe casts from VectorBase to dVector Use unsigned integers for the colnums array in dSMatrixStruct. This would enhance safety since colnum=-1 would no longer point to a - valid address. Additionally, add a break statement upon first - encounter of sorted colnums==-1 in dsmatrixstruct::compress (by - now, all -1's are sorted _first_, so we can't skip them if we want - to get to the other colnums. If it were MAXINT instead of -1, we - could skip all entries after finding the first MAXINT). - -Optimize dSMatrixStruct::compress, using standard sort algorithms - and only sorting the used range of indices, not those with - -1 entries. + valid address. +Let dSMatrixStruct::compress free the memory of colnums which is + no longer needed.