tgrain.c: fix grain_read element count - granular - granular dynamics simulation
HTML git clone git://src.adamsgaard.dk/granular
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 6330f3f7cea1e7aad5da9192277f9631aee4e056
DIR parent 72f836211b5619a79101bb940815780ea2c6ce00
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 19 Mar 2021 22:28:04 +0100
grain.c: fix grain_read element count
Diffstat:
M grain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/grain.c b/grain.c
t@@ -160,7 +160,7 @@ grain_read(char *line)
&g->ncontacts,
&g->contact_stress[0], &g->contact_stress[1], &g->contact_stress[2],
&g->thermal_energy,
- &g->color) != 52)
+ &g->color) != 50)
errx(1, "%s: could not read line: %s", __func__, line);
if (grain_check_values(g))