pgRouting

Changeset 161

Show
Ignore:
Timestamp:
04/08/08 15:55:05 (8 months ago)
Author:
anton
Message:

alpha.c fixed (output type int changed to float)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/extra/driving_distance/src/alpha.c

    r123 r161  
    338338      values[0] = call_cntr; 
    339339      nulls[0] = ' '; 
    340       values[1] = Int32GetDatum(res[call_cntr].x); 
     340      values[1] = Float8GetDatum(res[call_cntr].x); 
    341341      nulls[1] = ' '; 
    342       values[2] = Int32GetDatum(res[call_cntr].y); 
     342      values[2] = Float8GetDatum(res[call_cntr].y); 
    343343      nulls[2] = ' '; 
    344344      */ 
     
    347347      nulls = palloc(2 * sizeof(char)); 
    348348 
    349       values[0] = Int32GetDatum(res[call_cntr].x); 
     349      values[0] = Float8GetDatum(res[call_cntr].x); 
    350350      nulls[0] = ' '; 
    351       values[1] = Int32GetDatum(res[call_cntr].y); 
     351      values[1] = Float8GetDatum(res[call_cntr].y); 
    352352      nulls[1] = ' '; 
    353353