Hide warning message behind macro

This commit is contained in:
Mael Rouxel-Labbé 2024-02-16 12:28:58 +01:00
parent 9a7c6b4573
commit 35cc806d59
1 changed files with 2 additions and 0 deletions

View File

@ -136,8 +136,10 @@ public:
{
if(p_slice(cell, m_isovalue, values, corners, i_case))
return;
#ifdef CGAL_ISOSURFACING_3_MC_FUNCTORS_DEBUG
else
std::cerr << "WARNING: the result might not be topologically correct" << std::endl;
#endif
}
constexpr int all_bits_set = (1 << (8 + 1)) - 1; // last 8 bits are 1