mirror of https://github.com/CGAL/cgal
Merge pull request #184 from afabri/Kernel_d-small_fix-GF
use assertion_code to avoid a clang warning
This commit is contained in:
commit
facb2ae760
|
|
@ -205,7 +205,7 @@ template <class ForwardIterator, class OutputIterator>
|
|||
OutputIterator operator()(ForwardIterator first, ForwardIterator last,
|
||||
const Point_d& p, OutputIterator result)
|
||||
{ TUPLE_DIM_CHECK(first,last,Barycentric_coordinates_d);
|
||||
int d = p.dimension();
|
||||
CGAL_assertion_code( int d = p.dimension(); )
|
||||
typename R::Affine_rank_d affine_rank;
|
||||
CGAL_assertion(affine_rank(first,last)==d);
|
||||
typename LA::Matrix M(first,last);
|
||||
|
|
|
|||
Loading…
Reference in New Issue