COIN-OR::LEMON - Graph Library

Changeset 116:a987c6013ea0 in lemon-0.x


Ignore:
Timestamp:
02/22/04 16:16:54 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@151
Message:

Bugfix in Dyn{Node|Edge}Maps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/alpar/smart_graph.h

    r115 r116  
    295295          //A better way to do that: (Is this really important?)
    296296          if(*i==this) {
    297             G->dyn_node_maps[i]=G->dyn_node_maps.back;
     297            *i=G->dyn_node_maps.back();
    298298            G->dyn_node_maps.pop_back();
    299299          }
     
    343343          //A better way to do that: (Is this really important?)
    344344          if(*i==this) {
    345             G->dyn_edge_maps[i]=G->dyn_edge_maps.back;
     345            *i=G->dyn_edge_maps.back();
    346346            G->dyn_edge_maps.pop_back();
    347347          }
Note: See TracChangeset for help on using the changeset viewer.