]> granicus.if.org Git - graphviz/commitdiff
Put in stub remove_overlap for call from sfdp if GTS/TRIANGLE not defined.
authorerg <devnull@localhost>
Mon, 22 Jun 2009 18:25:45 +0000 (18:25 +0000)
committererg <devnull@localhost>
Mon, 22 Jun 2009 18:25:45 +0000 (18:25 +0000)
lib/neatogen/overlap.c

index c0e6dc489cbb426b5032f49ed9376f7316940d46..bfd64d0446baeb3c661e1001ee992f3fe4aeb49a 100644 (file)
@@ -513,4 +513,11 @@ void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes,
 #endif
 }
 
+#else
+#include "types.h"
+#include "SparseMatrix.h"
+void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, int ntry, real initial_scaling, int *flag)
+{
+    agerr(AGERR, "remove_overlap: Graphviz not built with triangulation library\n");
+}
 #endif