tDo not assign to r_norm_max before necessary - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear) (HTM) git clone git://src.adamsgaard.dk/cngf-pf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 62de0798bf2610b9f8af2fa9ced9016bc6d1c8a3 (DIR) parent b33b0ac09f471045f4ba8258cab941a158bf0756 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 28 Jun 2019 12:11:57 +0200 Do not assign to r_norm_max before necessary Diffstat: M fluid.c | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) --- (DIR) diff --git a/fluid.c b/fluid.c t@@ -137,7 +137,6 @@ darcy_solver_1d(struct simulation* sim, dp_f_impl = zeros(sim->nz); p_f_ghost_out = zeros(sim->nz+2); r_norm = zeros(sim->nz); - r_norm_max = NAN; p_f_top = sine_wave(sim->t, sim->p_f_mod_ampl, sim->p_f_mod_freq,