pgRouting

Changeset 122

Show
Ignore:
Timestamp:
03/06/08 14:15:37 (9 months ago)
Author:
anton
Message:

alpha.c fixed

Files:

Legend:

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

    r119 r122  
    338338      values[0] = call_cntr; 
    339339      nulls[0] = ' '; 
    340       values[1] = Int32GetDatum(path[call_cntr].vertex_id); 
     340      values[1] = Int32GetDatum(res[call_cntr].vertex_id); 
    341341      nulls[1] = ' '; 
    342       values[2] = Int32GetDatum(path[call_cntr].edge_id); 
     342      values[2] = Int32GetDatum(res[call_cntr].edge_id); 
    343343      nulls[2] = ' '; 
    344       values[3] = Float8GetDatum(path[call_cntr].cost); 
     344      values[3] = Float8GetDatum(res[call_cntr].cost); 
    345345      nulls[3] = ' '; 
    346346      */ 
     
    349349      nulls = palloc(3 * sizeof(char)); 
    350350 
    351       values[0] = Int32GetDatum(path[call_cntr].vertex_id); 
     351      values[0] = Int32GetDatum(res[call_cntr].vertex_id); 
    352352      nulls[0] = ' '; 
    353       values[1] = Int32GetDatum(path[call_cntr].edge_id); 
     353      values[1] = Int32GetDatum(res[call_cntr].edge_id); 
    354354      nulls[1] = ' '; 
    355       values[2] = Float8GetDatum(path[call_cntr].cost); 
     355      values[2] = Float8GetDatum(res[call_cntr].cost); 
    356356      nulls[2] = ' '; 
    357357