]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a bug in sparse_matrix.template.h
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jun 2013 20:52:54 +0000 (20:52 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jun 2013 20:52:54 +0000 (20:52 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29744 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 950629792b19b02f0896f411cc8be9301670771d..dbb8b38cdceb75c812813fd353696dcf00bd3e6b 100644 (file)
@@ -380,7 +380,7 @@ SparseMatrix<number>::copy_from (const TrilinosWrappers::SparseMatrix &matrix)
        = matrix.trilinos_matrix().ExtractGlobalRowCopy
        (row, matrix.row_length(row), ncols,
         &(value_cache[0]),
-        reinterpret_cast<int*>(&(colnum_cache[0])));
+        reinterpret_cast<TrilinosWrappers::types::int_type*>(&(colnum_cache[0])));
       Assert (ierr==0, ExcTrilinosError(ierr));
 
       // resize arrays to the size actually used

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.