From 3197854e89eb9ffe5ff3137e274d16806c2028a5 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Tue, 27 Jul 2021 12:51:09 +0000 Subject: [PATCH] Found one bug in the code when calculating mprod. Fixed. --- src/snapshot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index fbb6d4b..da21498 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -24,7 +24,7 @@ ts_bool xml_trisurf_data(FILE *fh, ts_vesicle *vesicle){ ts_string *data=(ts_string *)malloc(sizeof(ts_sprintf)); - data->string=(char *)malloc(512000*sizeof(char)); /*TODO: warning, can break if the string is to long */ + data->string=(char *)malloc(5120000*sizeof(char)); /*TODO: warning, can break if the string is to long */ data->beg=0; xml_trisurf_header(fh, vesicle); -- Gitblit v1.9.3