From f2a49988ce6b8dd7d4723dfd0adb11e2d057a032 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 29 Dec 2004 16:53:05 +0000 Subject: [PATCH] Work around bug in GCC 2.95.3 standard library [SVN r26604] --- include/boost/graph/fruchterman_reingold.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/fruchterman_reingold.hpp b/include/boost/graph/fruchterman_reingold.hpp index 55e7c65a..3968faee 100644 --- a/include/boost/graph/fruchterman_reingold.hpp +++ b/include/boost/graph/fruchterman_reingold.hpp @@ -113,7 +113,7 @@ struct grid_force_pairs if (column >= columns) column = columns - 1; if (row >= rows) row = rows - 1; - buckets.at(row * columns + column).push_back(*v); + buckets[row * columns + column].push_back(*v); } typedef typename buckets_t::iterator buckets_iterator;