summaryrefslogtreecommitdiff
path: root/tests/test.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.hpp')
-rw-r--r--tests/test.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.hpp b/tests/test.hpp
index 028da62..f2d6266 100644
--- a/tests/test.hpp
+++ b/tests/test.hpp
@@ -43,7 +43,7 @@ inline bool test_xpath_number(const pugi::xml_node& node, const char* query, dou
{
pugi::xpath_query q(query);
- return fabs(q.evaluate_number(node) - expected) < 1e-8f;
+ return fabs(q.evaluate_number(node) - expected) < 1e-16f;
}
inline bool test_xpath_number_nan(const pugi::xml_node& node, const char* query)