source: issm/oecreview/Archive/16133-16554/ISSM-16451-16452.diff@ 16556

Last change on this file since 16556 was 16556, checked in by Mathieu Morlighem, 11 years ago

NEW: added Archive/16133-16554

File size: 854 bytes
RevLine 
[16556]1Index: ../trunk-jpl/src/c/toolkits/issm/SparseRow.h
2===================================================================
3--- ../trunk-jpl/src/c/toolkits/issm/SparseRow.h (revision 16451)
4+++ ../trunk-jpl/src/c/toolkits/issm/SparseRow.h (revision 16452)
5@@ -12,9 +12,6 @@
6 template <class doubletype>
7 class SparseRow{
8
9- private:
10- int* buffer; //used during SetValues
11-
12 public:
13
14 int M; //real size
15@@ -28,7 +25,6 @@
16 ncols=0;
17 indices=NULL;
18 values=NULL;
19- buffer=NULL;
20 } /*}}}*/
21 SparseRow(int in_M){/*{{{*/
22
23@@ -37,14 +33,12 @@
24 indices=NULL;
25 values=NULL;
26
27- buffer=xNewZeroInit<int>(M);
28 } /*}}}*/
29 ~SparseRow(){/*{{{*/
30 if(ncols){
31 xDelete<int>(indices);
32 xDelete<doubletype>(values);
33 }
34- if(buffer)xDelete<int>(buffer);
35 } /*}}}*/
36
37 /*SparseRow specific routines*/
Note: See TracBrowser for help on using the repository browser.