From: David Wells Date: Sat, 13 May 2017 21:23:02 +0000 (-0400) Subject: Use a Tensor for a direction vector. X-Git-Tag: v9.0.0-rc1~1598^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e5b8b788519a70b2afe8761d8e15081fd9e8b58;p=dealii.git 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. --- 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.