From 0437267123c9d43aee8a2623fce29386555d72a1 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 28 Oct 1999 12:00:19 +0000 Subject: [PATCH] Replace two old-style-casts by static_casts git-svn-id: https://svn.dealii.org/trunk@1801 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 83c0949624..503c9d0a3d 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -764,7 +764,7 @@ SparseMatrix::SOR (Vector& dst, const number om) const { somenumber s = dst(row); for (unsigned int j=cols->rowstart[row]; jrowstart[row+1]; ++j) - if ((unsigned int)cols->colnums[j] < row) + if (static_cast(cols->colnums[j]) < row) s -= val[j] * dst(cols->colnums[j]); dst(row) = s * om / val[cols->rowstart[row]]; @@ -870,7 +870,7 @@ SparseMatrix::SSOR (Vector& dst, const number om) const p = cols->colnums[j]; if (p>=0) { - if ((unsigned int)i(i)rowstart[i]]; -- 2.39.5