From b5ba7b3c7142aa7a2d58d9554048e6317ebd3616 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 30 Nov 2013 10:41:10 +0000
Subject: [PATCH] step in rewritting

---
 src/io.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/io.c b/src/io.c
index 9e278ec..65fff4f 100644
--- a/src/io.c
+++ b/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");
 	}

--
Gitblit v1.9.3