]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix statement for 64 bit platforms where size_t != unsigned int.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 12:49:39 +0000 (12:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 12:49:39 +0000 (12:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@4781 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/compressed_sparsity_pattern.cc

index 34f27f8f8f465972bdd9142473161f3e60ad51ae..f779e404f0390dac90bbd43ddb1d12ec2fc6d1b1 100644 (file)
@@ -104,7 +104,7 @@ CompressedSparsityPattern::max_entries_per_row () const
 {
   unsigned int m = 0;
   for (unsigned int i=1; i<rows; ++i)
-    m = std::max (m, column_indices[i].size());
+    m = std::max (m, static_cast<unsigned int>(column_indices[i].size()));
 
   return m;
 };

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.