From: Wolfgang Bangerth Date: Wed, 20 Aug 2003 22:57:22 +0000 (+0000) Subject: Fix non-compilations with cxx. X-Git-Tag: v8.0.0~16258 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ba6ba5571229cfc646e565977bb1197ea77e07;p=dealii.git Fix non-compilations with cxx. git-svn-id: https://svn.dealii.org/trunk@7952 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_renumbering.cc b/deal.II/deal.II/source/dofs/dof_renumbering.cc index d9e1854d34..1ea8ed5348 100644 --- a/deal.II/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/deal.II/source/dofs/dof_renumbering.cc @@ -37,6 +37,7 @@ #include #include #include +#include // for whatever reason, the random_shuffle function used below needs @@ -1025,8 +1026,8 @@ struct ClockCells const Point v1 = c1->center() - center; const Point v2 = c2->center() - center; - const double s1 = atan2(v1(0), v1(1)); - const double s2 = atan2(v2(0), v2(1)); + const double s1 = std::atan2(v1(0), v1(1)); + const double s2 = std::atan2(v2(0), v2(1)); return ( counter ? (s1>s2) : (s2>s1)); } };