]> granicus.if.org Git - graphviz/commitdiff
Hook up IPSEPCOLA into GNU build process.
authorellson <devnull@localhost>
Fri, 28 Apr 2006 20:33:44 +0000 (20:33 +0000)
committerellson <devnull@localhost>
Fri, 28 Apr 2006 20:33:44 +0000 (20:33 +0000)
To enable use "./configure --with-ipsepcola"

Changes include minor C++ source changes to work with latest gcc
csolve_VPSC.cpp  - add "#include <cassert>"
constraint.h - remove classname prefix in declaration of slack()
variable.h - remove classname prefix in declaration of position()

lib/vpsc/csolve_VPSC.cpp
lib/vpsc/csolve_VPSC.h

index c838011a9c282694935c85193bee897206e0576b..81d0fea62a3e3ad972d2d121cbb8f4e3f80312b0 100644 (file)
@@ -20,6 +20,7 @@
 #include <constraint.h>
 #include <generate-constraints.h>
 #include <solve_VPSC.h>
+#include <cassert>
 #include "csolve_VPSC.h"
 extern "C" {
 Variable* newVariable(int id, double desiredPos, double weight) {
index 1d84382e9d19eb9c21065a3696492c1a237bb9f1..e916bb76b0a2ee0feaa2cd8ac5b9bb0b6e7ea724 100644 (file)
@@ -1,3 +1,6 @@
+/* $Id$ $Revision$ */
+/* vim:set shiftwidth=4 ts=8: */
+
 /**
  * \brief Bridge for C programs to access solve_VPSC (which is in C++)
  *