RE: [Boost-users] error in boost/graph/fruchterman_reingold.hpp

This one works, correcting the "grpah" typo:
http://boost-consulting.com/boost/libs/graph/doc/fruchterman_reingold.ht
ml
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Welson Sun
Sent: Wednesday, January 12, 2005 10:04 PM
To: boost-users@lists.boost.org
Subject: RE: [Boost-users] error in boost/graph/fruchterman_reingold.hpp
The link you provided is 404 error.
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jamie
Wilkinson
Sent: Wednesday, January 12, 2005 2:16 AM
To: Boost-users@lists.boost.org
Subject: [Boost-users] error in boost/graph/fruchterman_reingold.hpp
The doc at
http://boost-consulting.com/boost/libs/grpah/doc/fruchterman_reingold.ht
ml
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 `
fruchterman_reingold_force_directed_layout(Umbrella::Document&,
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
1.5
--- boost/graph/fruchterman_reingold.hpp 12 Jan 2005 09:18:16
-0000
***************
*** 368,375 ****
params);
}
! template
participants (1)
-
John Wilkinson