mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Bump precision in wkt output
This commit is contained in:
@@ -215,6 +215,7 @@ namespace {
|
|||||||
template <typename Fn, typename... Ts>
|
template <typename Fn, typename... Ts>
|
||||||
std::string capture_output(Fn fn, Ts... ts) {
|
std::string capture_output(Fn fn, Ts... ts) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
|
oss << std::setprecision(std::numeric_limits<double>::digits10 + 1);
|
||||||
fn(oss, ts...);
|
fn(oss, ts...);
|
||||||
return oss.str();
|
return oss.str();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user