From 704b50a91cf42bb279afcf5e5c9d343f12e2e1df Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 7 Dec 2017 00:47:51 +0100 Subject: [PATCH] [test][box] Use correct type for GlobalPosition --- test/discretization/box/test_boxfvgeometry.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/discretization/box/test_boxfvgeometry.cc b/test/discretization/box/test_boxfvgeometry.cc index a4ba684468..ccfc82806e 100644 --- a/test/discretization/box/test_boxfvgeometry.cc +++ b/test/discretization/box/test_boxfvgeometry.cc @@ -70,8 +70,7 @@ int main (int argc, char *argv[]) try constexpr int dim = GridView::dimension; constexpr int dimworld = GridView::dimensionworld; - using Scalar = typename GET_PROP_TYPE(TypeTag, Scalar); - using GlobalPosition = Dune::FieldVector<Scalar, dimworld>; + using GlobalPosition = Dune::FieldVector<typename GridView::ctype, dimworld>; using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume); using SubControlVolumeFace = typename GET_PROP_TYPE(TypeTag, SubControlVolumeFace); using FVGridGeometry = typename GET_PROP_TYPE(TypeTag, FVGridGeometry); -- GitLab