maybe we can read eges ?
This commit is contained in:
6
edges.c
6
edges.c
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* edges.c
|
||||
* a part of libbubulle from tTh
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -150,10 +151,15 @@ int print_the_edges(EdgeList *list, int k)
|
||||
{
|
||||
int foo;
|
||||
|
||||
fprintf(stderr, ">>> %s ( %p %d )\n", __func__, list, k);
|
||||
|
||||
if (k) {
|
||||
fprintf(stderr, "In %s, k must be 0, was %d\n", __func__, k);
|
||||
return k;
|
||||
}
|
||||
|
||||
fprintf(stderr, " list.fidx = %d\n", list->fidx);
|
||||
|
||||
for (foo=0; foo<list->fidx; foo++) {
|
||||
printf("%d\t\t%5d %5d\n", foo, list->edges[foo].A, list->edges[foo].B);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user