]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
64 bit fixes
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Jun 2013 16:05:00 +0000 (16:05 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Jun 2013 16:05:00 +0000 (16:05 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29796 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/petsc_parallel_block_sparse_matrix.cc

index 930c269e5637d2bcbdab404460fc421ae5458ac6..52e314c8ffd0a311940fc0df9b247bfda698826e 100644 (file)
@@ -81,12 +81,12 @@ namespace PETScWrappers
       this->sub_objects.reinit (bcsp.n_block_rows(),
           bcsp.n_block_cols());
 
-      std::vector<unsigned int> row_sizes;
+      std::vector<types::global_dof_index> row_sizes;
       for (unsigned int r=0; r<bcsp.n_block_rows(); ++r)
               row_sizes.push_back( bcsp.block(r,0).n_rows() );
       this->row_block_indices.reinit (row_sizes);
 
-      std::vector<unsigned int> col_sizes;
+      std::vector<types::global_dof_index> col_sizes;
       for (unsigned int c=0; c<bcsp.n_block_cols(); ++c)
               col_sizes.push_back( bcsp.block(0,c).n_cols() );
       this->column_block_indices.reinit (col_sizes);

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.