the requirement only is to be convertible into a Tr::Point

not to be the same
This commit is contained in:
Jane Tournois 2022-03-29 14:30:09 +02:00
parent 25502b66e5
commit 0ab5a5b6e9
1 changed files with 0 additions and 2 deletions

View File

@ -450,8 +450,6 @@ bool build_triangulation_with_subdomains_range(Tr& tr,
const bool verbose = false, const bool verbose = false,
bool replace_domain_0 = false) bool replace_domain_0 = false)
{ {
BOOST_STATIC_ASSERT(boost::is_same<typename Tr::Point,
typename PointRange::value_type>::value);
std::vector<typename Tr::Vertex_handle> vertex_handle_vector; std::vector<typename Tr::Vertex_handle> vertex_handle_vector;
std::vector<typename Tr::Cell::Subdomain_index> subdomains_vector( std::vector<typename Tr::Cell::Subdomain_index> subdomains_vector(
subdomains.begin(), subdomains.end()); subdomains.begin(), subdomains.end());