Boost logo

Boost Users :

From: Welson Sun (welson_sun_at_[hidden])
Date: 2005-01-12 23:04:19

The link you provided is 404 error.


-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Jamie Wilkinson
Sent: Wednesday, January 12, 2005 2:16 AM
To: Boost-users_at_[hidden]
Subject: [Boost-users] error in boost/graph/fruchterman_reingold.hpp

The doc at
suggests that there is a 4 argument version of the function, taking only the
graph, a position map, width and height; but attempts to compile such a
function against the headers from the latest CVS results in a compile error:

error: no matching function for call to `
   Umbrella::View::load_from_document()::PositionMap&, double&, double&)'

Removing the typenames Param, Tag, and Rest from lines 371-372 of the header
allows the compile to continue.

Index: boost/graph/fruchterman_reingold.hpp
RCS file: /cvsroot/boost/boost/boost/graph/fruchterman_reingold.hpp,v
retrieving revision 1.5
diff -u -c -r1.5 fruchterman_reingold.hpp cvs diff: conflicting
specifications of output style
*** boost/graph/fruchterman_reingold.hpp 29 Dec 2004 16:53:05 -0000
--- boost/graph/fruchterman_reingold.hpp 12 Jan 2005 09:18:16 -0000
*** 368,375 ****

! template<typename Graph, typename PositionMap, typename Dim, typename
! typename Tag, typename Rest>
  fruchterman_reingold_force_directed_layout(const Graph& g,
                                           PositionMap position,
--- 368,374 ----

! template<typename Graph, typename PositionMap, typename Dim>
  fruchterman_reingold_force_directed_layout(const Graph& g,
                                           PositionMap position,
Boost-users mailing list

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at