From: hartmann Date: Mon, 15 Mar 2004 13:28:00 +0000 (+0000) Subject: Add missing static_cast X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6103ddad50a63f4affe7c6dffc2e080d168aca77;p=dealii-svn.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; };