tFix debug output in coupled_shear_solver - cngf-pf - continuum model for granu… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a01a6668b57491f2fd1bf7156bcf93607dec5add | |
parent f426fd96236dfea21a875c9a0d48e85fe54aade8 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sat, 23 May 2020 10:55:15 +0200 | |
Fix debug output in coupled_shear_solver | |
Diffstat: | |
M simulation.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/simulation.c b/simulation.c | |
t@@ -786,7 +786,7 @@ coupled_shear_solver(struct simulation *sim, | |
compute_shear_velocity(sim); | |
#ifdef DEBUG | |
- for (i = 0; i < sim->nz) { | |
+ for (i = 0; i < sim->nz; ++i) { | |
printf("\nsim->t = %g s\n", sim->t); | |
printf("sim->I[%d] = %g\n", i, sim->I[i]); | |
printf("sim->phi_c[%d] = %g\n", i, sim->phi_c[… |