From: wolf Date: Mon, 21 Jun 2004 17:00:54 +0000 (+0000) Subject: Avoid warning. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f8cf5ec8499658a21b31ad2041af0c9576a23d3;p=dealii-svn.git Avoid warning. git-svn-id: https://svn.dealii.org/trunk@9439 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/compressed_sparsity_pattern_03.cc b/tests/bits/compressed_sparsity_pattern_03.cc index 8510265104..10db1de109 100644 --- a/tests/bits/compressed_sparsity_pattern_03.cc +++ b/tests/bits/compressed_sparsity_pattern_03.cc @@ -39,8 +39,9 @@ void test () for (unsigned int j=0; j<40; ++j) xx[(i+(i+1)*(j*j+i))%N] = true; - Assert (std::count (xx.begin(), xx.end(), true) == - csp.row_length(i), + Assert (static_cast(std::count (xx.begin(), xx.end(), + true)) + == csp.row_length(i), ExcInternalError()); deallog << i << ' ' << csp.row_length (i) << std::endl;