From 06e94594fffcac7179419b6001b77ffffd34505e Mon Sep 17 00:00:00 2001 From: "kainan.wang" Date: Sat, 20 Apr 2013 04:57:45 +0000 Subject: [PATCH] Fix a type error git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29347 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/sparse_matrix.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/include/deal.II/lac/sparse_matrix.templates.h b/deal.II/include/deal.II/lac/sparse_matrix.templates.h index cc5a68d4d3..6c5d8e0cb6 100644 --- a/deal.II/include/deal.II/lac/sparse_matrix.templates.h +++ b/deal.II/include/deal.II/lac/sparse_matrix.templates.h @@ -366,9 +366,9 @@ SparseMatrix::copy_from (const TrilinosWrappers::SparseMatrix &matrix) *this = 0; std::vector < TrilinosScalar > value_cache; - std::vector colnum_cache; + std::vector colnum_cache; - for (unsigned int row = 0; row < matrix.m(); ++row) + for (size_type row = 0; row < matrix.m(); ++row) { value_cache.resize(matrix.n()); colnum_cache.resize(matrix.n()); -- 2.39.5