From 4f5ffcfd5ba38b6b7dd6d3b15de8bb8677537b9f Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Thu, 09 Apr 2020 16:15:56 +0000
Subject: [PATCH] Commiting old changes

---
 src/io.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/io.c b/src/io.c
index 0dd022c..b16ab3e 100644
--- a/src/io.c
+++ b/src/io.c
@@ -245,6 +245,7 @@
 	if(vesicle->filament_list!=NULL){
 		if(vesicle->filament_list->poly[0]!=NULL){
 		filno=vesicle->filament_list->n;
+		fprintf(stderr,"WAS HERE AND I SHOULDNT BE\n");
 		fonono=vesicle->filament_list->poly[0]->vlist->n;
 		fil=1;
 		}
@@ -435,7 +436,7 @@
 
 
 
-	fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">\n");
+	fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">");
 	offset=0;
 	for(i=0;i<vlist->n;i++,offset+=3){
 		//fprintf(fh,"%.17e %.17e %.17e\n",vtx[i]->x,vtx[i]->y, vtx[i]->z);
@@ -539,7 +540,7 @@
 	printout=ts_compress((char *)int_vector,offset*sizeof(long));
 	fprintf(fh,"%s",printout);
 	free(printout);
-    fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">\n");
+    fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">");
 	free(int_vector);
 	free(float_vector);
 	free(float_cell_vector);

--
Gitblit v1.9.3