From: Ralf Hartmann Date: Mon, 15 Mar 2004 13:28:00 +0000 (+0000) Subject: Add missing static_cast X-Git-Tag: v8.0.0~15609 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a9efbc36d62d10c6905b4b1de42fc296e8ac3b7;p=dealii.git Add missing static_cast git-svn-id: https://svn.dealii.org/trunk@8739 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/subdomain_ids.cc b/tests/deal.II/subdomain_ids.cc index 6a13326732..f46b71fa3c 100644 --- a/tests/deal.II/subdomain_ids.cc +++ b/tests/deal.II/subdomain_ids.cc @@ -165,7 +165,8 @@ void test () ExcNumberMismatch(std::count (selected_dofs.begin(), selected_dofs.end(), true), - std::pow(static_cast(cells_per_direction/2+1),dim))); + static_cast(std::pow(static_cast( + cells_per_direction/2+1),dim)))); } deallog << "Check 4 (dim=" << dim << ") ok" << std::endl; };