From 4e5b8b788519a70b2afe8761d8e15081fd9e8b58 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 13 May 2017 17:23:02 -0400 Subject: [PATCH] Use a Tensor for a direction vector. The old version works since Point<3> inherits from Tensor<1, 3> and this is only implemented for the spacedim == 3 case. --- include/deal.II/opencascade/boundary_lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/opencascade/boundary_lib.h b/include/deal.II/opencascade/boundary_lib.h index 753af53479..d992e5a72b 100644 --- a/include/deal.II/opencascade/boundary_lib.h +++ b/include/deal.II/opencascade/boundary_lib.h @@ -164,7 +164,7 @@ namespace OpenCASCADE /** * Direction used to project new points on the shape. */ - const Point<3> direction; + const Tensor<1, spacedim> direction; /** * Relative tolerance used by this class to compute distances. -- 2.39.5