Opened 5 years ago

Closed 5 years ago

#3140 closed defect (fixed)

Temporal Cunit Failure

Reported by: pramsey Owned by: strk
Priority: critical Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:


Running test 'test_lwgeom_tcpa' in suite 'measures'.
 Expected: 3
 Obtained: 3.4
 Expected: 1
 Obtained: 0.8

    FAILED - asserts -  37 passed,   2 failed,  39 total.

  1. cu_measures.c:1089  - CU_ASSERT_EQUAL(m,3.0)
  2. cu_measures.c:1090  - CU_ASSERT_EQUAL(dist,1.0)


Darwin Crane.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

Change History (3)

comment:1 Changed 5 years ago by pramsey

Fixed the comparison function at r13604. I'm surprised the algorithm ever worked at all, must have been good luck.

comment:2 Changed 5 years ago by strk

Paul was this fixed with the qsort tweak ?

comment:3 Changed 5 years ago by pramsey

Resolution: fixed
Status: newclosed

Yes! :)

Note: See TracTickets for help on using tickets.