Skip to content

Commit

Permalink
fixed a similar bug in the DrL layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Feb 14, 2013
1 parent 340a8dd commit 49124de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drl_graph_3d.cpp
Expand Up @@ -544,7 +544,7 @@ void graph::update_nodes ( )
for ( unsigned int j = 0; j < node_indices.size(); j++ )
node_indices [j] += num_procs;

while ( node_indices [ node_indices.size()-1] >= num_nodes )
while ( !node_indices.empty() && node_indices.back() >= num_nodes )
node_indices.pop_back ( );

}
Expand Down

0 comments on commit 49124de

Please sign in to comment.