tgrain.c: fix grain_read element count - granular - granular dynamics simulation | |
git clone git://src.adamsgaard.dk/granular | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6330f3f7cea1e7aad5da9192277f9631aee4e056 | |
parent 72f836211b5619a79101bb940815780ea2c6ce00 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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->con… | |
&g->thermal_energy, | |
- &g->color) != 52) | |
+ &g->color) != 50) | |
errx(1, "%s: could not read line: %s", __func__, line); | |
if (grain_check_values(g)) |