# HG changeset patch # User Roeland Merks # Date 2014-05-01 16:01:14 # Node ID 200c37371db5c92d160b165517e05162f5c6754b # Parent 48a69a5303ea916002505b9f4fc37caea3625cd9 Minor bugfix in RandomlyLoopNodes and RandomLoopCells (unused code) revealed after recent compilation on Linux diff --git a/src/mesh.h b/src/mesh.h --- a/src/mesh.h +++ b/src/mesh.h @@ -169,7 +169,7 @@ class Mesh { for (vector::const_iterator i=shuffled_nodes.begin(); i!=shuffled_nodes.end(); i++) { - f(*shuffled_nodes[*i]); + f(*i); } } @@ -181,7 +181,7 @@ class Mesh { for (vector::const_iterator i=shuffled_cells.begin(); i!=shuffled_cells.end(); i++) { - f(*shuffled_cells[*i]); + f(*i); } }