src/io.c
@@ -25,10 +25,10 @@ ts_vertex **vtx=vlist->vtx; printf("Vertex id(neigh no): (neighvertex coord) (neighvertex coord) ...\n"); for(i=0;i<vlist->n;i++){ printf("%u(%u): ",vtx[i]->idx,vtx[i]->neigh_no); for(j=0;j<vtx[i]->neigh_no;j++){ printf("(%f,%f,%f)",vtx[i]->neigh[j]->x, vtx[i]->neigh[j]->y,vtx[i]->neigh[j]->z); printf("%u(%u): ",vtx[i]->idx,vtx[i]->neigh->n); for(j=0;j<vtx[i]->neigh->n;j++){ printf("(%f,%f,%f)",vtx[i]->neigh->vtx[j]->x, vtx[i]->neigh->vtx[j]->y,vtx[i]->neigh->vtx[j]->z); } printf("\n"); }