From: maier Date: Tue, 2 Oct 2012 13:09:10 +0000 (+0000) Subject: Bugfix: Make icc-13.0.0 happy X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9a747738e87f5432b47b9faebd871f82b6ea996;p=dealii-svn.git Bugfix: Make icc-13.0.0 happy git-svn-id: https://svn.dealii.org/branches/branch_cmake@26923 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/block_indices.h b/deal.II/include/deal.II/lac/block_indices.h index 61be16b607..a78d0eae0f 100644 --- a/deal.II/include/deal.II/lac/block_indices.h +++ b/deal.II/include/deal.II/lac/block_indices.h @@ -396,12 +396,13 @@ std::pair BlockIndices::global_to_local (const unsigned int i) const { Assert (i 0, ExcLowrRange(i, 1)); - int block = n_blocks-1; + unsigned int block = n_blocks-1; while (i < start_indices[block]) --block; - return std::make_pair(block, i-start_indices[block]); + return std::make_pair(block, i-start_indices[block]); }