cngf-pf

continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
git clone git://src.adamsgaard.dk/cngf-pf # fast
git clone https://src.adamsgaard.dk/cngf-pf.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit bbd789ecc0cafb7a97bfd3f0fd07dc068e1745f6
parent cdecdb7efc00a7532ef671a642c0cfb4bfd06931
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 22 Apr 2021 08:35:45 +0200

simulation.c: remove duplicate set of return_status

Diffstat:
Msimulation.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/simulation.c b/simulation.c @@ -220,13 +220,11 @@ check_float(const char name[], const double value, int *return_status) snprintf(message, sizeof(message), "%s is NaN", name); warn_parameter_value(message, value, return_status); - *return_status = 1; } else if (isinf(value)) { char message[100]; snprintf(message, sizeof(message), "%s is infinite", name); warn_parameter_value(message, value, return_status); - *return_status = 1; } }