summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/svg/svg-path-test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/svg-path-test.h b/src/svg/svg-path-test.h
index 61a63dba6..ec9536f0f 100644
--- a/src/svg/svg-path-test.h
+++ b/src/svg/svg-path-test.h
@@ -237,7 +237,7 @@ public:
{ // Test relative
char const * path_str = "m .1.2+0.3.0e0.0e0+6e-1-.3.0 z";
NArtBpath * bpath = sp_svg_read_path(path_str);
- TS_ASSERT(bpathEqual(bpath,bpath_good,.1e-8));
+ TS_ASSERT(bpathEqual(bpath,bpath_good));
g_free(bpath);
}
}
@@ -436,7 +436,7 @@ public:
}
private:
- bool bpathEqual(NArtBpath const * a, NArtBpath const * b, double eps = 0) {
+ bool bpathEqual(NArtBpath const * a, NArtBpath const * b, double eps = 1e-16) {
while(a->code != NR_END && b->code == a->code) {
switch(a->code) {
case NR_MOVETO: