Skip to content

Commit

Permalink
Remove template which depends on CGAL
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrmrc committed Mar 11, 2024
1 parent d785dee commit 2b7a91d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/poly_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,7 @@ namespace dealii::PolyUtils
}



template <int dim,
typename Kernel = CGAL::Exact_predicates_exact_constructions_kernel,
typename Number = double>
template <int dim, typename Number = double>
Number
compute_h_orthogonal(
const unsigned int face_index,
Expand All @@ -396,6 +393,7 @@ namespace dealii::PolyUtils
{
#ifdef DEAL_II_WITH_CGAL

using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
std::vector<typename Kernel::FT> candidates;
candidates.reserve(polygon_boundary.size() - 1);

Expand Down

0 comments on commit 2b7a91d

Please sign in to comment.