use ATTENTION instead of WARNING in message to avoid confusing the testsuite

This commit is contained in:
Sébastien Loriot 2014-12-16 15:45:06 +01:00
parent c436929fdb
commit a7451e1e8c
2 changed files with 4 additions and 4 deletions

View File

@ -347,7 +347,7 @@ private:
boost::optional<OutputIterator> coordinates_on_unbounded_side_precise_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
{
if(warning_tag)
std::cout << std::endl << "WARNING: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
std::cout << std::endl << "ATTENTION: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
return coordinates_on_bounded_side_precise_2(query_point, output);
@ -359,7 +359,7 @@ private:
boost::optional<OutputIterator> coordinates_on_unbounded_side_fast_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
{
if(warning_tag)
std::cout << std::endl << "WARNING: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
std::cout << std::endl << "ATTENTION: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
return coordinates_on_bounded_side_fast_2(query_point, output);

View File

@ -328,7 +328,7 @@ private:
boost::optional<OutputIterator> coordinates_on_unbounded_side_precise_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
{
if(warning_tag)
std::cout << std::endl << "WARNING: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
std::cout << std::endl << "ATTENTION: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
return coordinates_on_bounded_side_precise_2(query_point, output);
@ -340,7 +340,7 @@ private:
boost::optional<OutputIterator> coordinates_on_unbounded_side_fast_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
{
if(warning_tag)
std::cout << std::endl << "WARNING: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
std::cout << std::endl << "ATTENTION: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
return coordinates_on_bounded_side_fast_2(query_point, output);