mirror of https://github.com/CGAL/cgal
Use max precision for stringstream
This commit is contained in:
parent
9275058449
commit
0fd1d9db36
|
|
@ -234,6 +234,7 @@ namespace internal
|
||||||
virtual std::string get_string(const typename CGAL::Point_set_3<Point,Vector>::Index& index)
|
virtual std::string get_string(const typename CGAL::Point_set_3<Point,Vector>::Index& index)
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
|
oss.precision (std::numeric_limits<double>::digits10 + 2);
|
||||||
oss << get(m_pmap, index);
|
oss << get(m_pmap, index);
|
||||||
return oss.str();
|
return oss.str();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue