From 3006183b769f2e126b1a96e6bf697c2b7f657df7 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sun, 26 Apr 2020 17:35:26 +0000
Subject: [PATCH] Code for incremental adding of inclusions done

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

diff --git a/src/snapshot.c b/src/snapshot.c
index da21498..46534dc 100644
--- a/src/snapshot.c
+++ b/src/snapshot.c
@@ -23,7 +23,7 @@
 /* outputs additional data into paraview xml file */
 ts_bool xml_trisurf_data(FILE *fh, ts_vesicle *vesicle){
 
-	ts_string *data=(ts_string *)malloc(sizeof(ts_sprintf));
+	ts_string *data=(ts_string *)malloc(sizeof(ts_string));
 	data->string=(char *)malloc(5120000*sizeof(char)); /*TODO: warning, can break if the string is to long */
 	data->beg=0;
 	

--
Gitblit v1.9.3