put is_q_ssrc etc. in assertion code

Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
Panagiotis Cheilaris 2014-04-14 12:57:27 +02:00
parent fd1f51e987
commit 75f53e7007
1 changed files with 2 additions and 0 deletions

View File

@ -143,10 +143,12 @@ public:
if (is_q_tsrc or is_q_ttrg) {
// philaris: this code should never be executed
CGAL_assertion_code(
bool is_q_ssrc = same_points(q, s.source_site());
bool is_q_strg = same_points(q, s.target_site());
bool is_q_rsrc = same_points(q, r.source_site());
bool is_q_rtrg = same_points(q, r.target_site());
);
CGAL_assertion(
(is_q_ssrc or is_q_strg) and