COIN-OR::LEMON - Graph Library

Changeset 2623:90defb96ee61 in lemon-0.x for lemon/network_simplex.h


Ignore:
Timestamp:
10/06/08 17:08:17 (16 years ago)
Author:
Peter Kovacs
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3508
Message:

Add missing pointer initializing in min cost flow classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/network_simplex.h

    r2619 r2623  
    3232#include <lemon/smart_graph.h>
    3333#include <lemon/math.h>
    34 
    35 #define _DEBUG_
    3634
    3735namespace lemon {
     
    610608      _pred_edge(_graph), _thread(_graph), _forward(_graph),
    611609      _state(_graph), _red_cost(_graph, _cost, _potential),
    612       _flow_result(0), _potential_result(0),
     610      _flow_result(NULL), _potential_result(NULL),
    613611      _local_flow(false), _local_potential(false),
    614612      _node_ref(graph), _edge_ref(graph)
     
    660658      _pred_edge(_graph), _thread(_graph), _forward(_graph),
    661659      _state(_graph), _red_cost(_graph, _cost, _potential),
    662       _flow_result(0), _potential_result(0),
     660      _flow_result(NULL), _potential_result(NULL),
    663661      _local_flow(false), _local_potential(false),
    664662      _node_ref(graph), _edge_ref(graph)
     
    704702      _pred_edge(_graph), _thread(_graph), _forward(_graph),
    705703      _state(_graph), _red_cost(_graph, _cost, _potential),
    706       _flow_result(0), _potential_result(0),
     704      _flow_result(NULL), _potential_result(NULL),
    707705      _local_flow(false), _local_potential(false),
    708706      _node_ref(graph), _edge_ref(graph)
     
    754752      _pred_edge(_graph), _thread(_graph), _forward(_graph),
    755753      _state(_graph), _red_cost(_graph, _cost, _potential),
    756       _flow_result(0), _potential_result(0),
     754      _flow_result(NULL), _potential_result(NULL),
    757755      _local_flow(false), _local_potential(false),
    758756      _node_ref(graph), _edge_ref(graph)
Note: See TracChangeset for help on using the changeset viewer.