]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Purge the use of short ints. Noone knows how many entries we are going to store in...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Mar 2004 22:51:14 +0000 (22:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Mar 2004 22:51:14 +0000 (22:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@8752 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h

index 5435afed0bf3098705af2c6090f69e918831701a..bd712a70a1d7cf5748ee23d2c238a7ec61f29870 100644 (file)
@@ -58,7 +58,7 @@ class SparseMatrix : public virtual Subscriptor
                                               */
             Accessor (const SparseMatrix<number> *matrix,
                       const unsigned int          row,
-                      const unsigned short        index);
+                      const unsigned int          index);
 
                                              /**
                                               * Row number of the element
@@ -72,7 +72,7 @@ class SparseMatrix : public virtual Subscriptor
                                               * represented by this
                                               * object.
                                               */
-            unsigned short index() const;
+            unsigned int index() const;
 
                                              /**
                                               * Column number of the
@@ -100,7 +100,7 @@ class SparseMatrix : public virtual Subscriptor
                                              /**
                                               * Current index in row.
                                               */
-            unsigned short a_index;
+            unsigned int a_index;
 
                                              /**
                                               * Make enclosing class a
@@ -117,7 +117,7 @@ class SparseMatrix : public virtual Subscriptor
                                           */ 
        const_iterator (const SparseMatrix<number> *matrix,
                         const unsigned int          row,
-                        const unsigned short        index);
+                        const unsigned int          index);
          
                                          /**
                                           * Prefix increment.
@@ -1512,7 +1512,7 @@ inline
 SparseMatrix<number>::const_iterator::Accessor::
 Accessor (const SparseMatrix<number>* matrix,
           const unsigned int          r,
-          const unsigned short        i)
+          const unsigned int          i)
                :
                matrix(matrix),
                a_row(r),
@@ -1541,7 +1541,7 @@ SparseMatrix<number>::const_iterator::Accessor::column() const
 
 template <typename number>
 inline
-unsigned short
+unsigned int
 SparseMatrix<number>::const_iterator::Accessor::index() const
 {
   return a_index;
@@ -1563,7 +1563,7 @@ inline
 SparseMatrix<number>::const_iterator::
 const_iterator(const SparseMatrix<number> *matrix,
                const unsigned int          r,
-               const unsigned short        i)
+               const unsigned int          i)
                :
                accessor(matrix, r, i)
 {}

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.