From 4a9efbc36d62d10c6905b4b1de42fc296e8ac3b7 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Mon, 15 Mar 2004 13:28:00 +0000 Subject: [PATCH] Add missing static_cast git-svn-id: https://svn.dealii.org/trunk@8739 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/subdomain_ids.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }; -- 2.39.5