Opened 13 years ago

Closed 13 years ago

#702 closed defect (fixed)

ticket #183 test fails on 32bit system

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

Precision drifts on this ubuntu lucid 32bit system:

--- tickets_expected    2010-12-11 18:49:09.000000000 +0100
+++ /tmp/pgis_reg_22158/test_47_out     2010-12-13 09:20:27.000000000 +0100
@@ -39,7 +39,7 @@
 #179a|
 NOTICE:  No points in input array
 #179b|
-#183|COMPOUNDCURVE(CIRCULARSTRING(0 0,0.500000000000184 1.20710678118655,1 0),(1 0,0 1))
+#183|COMPOUNDCURVE(CIRCULARSTRING(0 0,0.500000000000083 1.20710678118655,1 0),(1 0,0 1))
 #210a|
 NOTICE:  No points in input array
 #210b|

Change History (5)

comment:1 by strk, 13 years ago

Succeeds on 64bit version of same system

comment:2 by strk, 13 years ago

Summary: tickets test failureticket #183 test fails on 32bit system

comment:3 by strk, 13 years ago

Can't SnapToGrid the curve either…

ERROR: lwgeom_grid: Unsupported geometry type: CompoundString

comment:4 by strk, 13 years ago

Owner: changed from pramsey to strk
Status: newassigned

I'll add support for snapping curvestring/compoundcurve to SnapToGrid, or the sake of passing this one (and getting more than an error from the test for #122, looks like)

comment:5 by strk, 13 years ago

Resolution: fixed
Status: assignedclosed

done in r7029

Note: See TracTickets for help on using tickets.