From 4c7fd92c014d081a2bd2af36d4ed27d6dfcec4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Sat, 30 Nov 2024 13:40:43 +0100 Subject: [PATCH] [ug] Remove definition of SMALL_D The defintion fixes a missing include within dune-uggrid. --- dune/grid/uggrid/ugwrapper.hh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dune/grid/uggrid/ugwrapper.hh b/dune/grid/uggrid/ugwrapper.hh index b4f28c579e..4cc5414e4e 100644 --- a/dune/grid/uggrid/ugwrapper.hh +++ b/dune/grid/uggrid/ugwrapper.hh @@ -8,9 +8,6 @@ #include <dune-uggrid-config.hh> // DUNE_UGGRID_HAVE_DDDCONTEXT, ModelP -/** \todo Here only to provide the constant DBL_EPSILON. There's maybe a better way? */ -#include "float.h" - namespace Dune { /** \brief Encapsulates a few UG methods and macros @@ -929,9 +926,6 @@ namespace Dune { using UG_NAMESPACE ::DOUBLE_VECTOR; using UG::DOUBLE; double det; -#ifndef SMALL_D - const double SMALL_D = DBL_EPSILON*10; -#endif INVERSE_TRANSFORMATION(n, x, local, mat, det); return 0; } -- GitLab