tFix argument counter when manually parsing pulse shape option - 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 0aa2e0a1d2b633938efda33bff1e183e8a7f7140
(DIR) parent cfe214096449b4b1f0aa0ecd098de6f37288cc24
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 5 Mar 2020 16:48:13 +0100
Fix argument counter when manually parsing pulse shape option
Diffstat:
M 1d_fd_simple_shear.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/1d_fd_simple_shear.c b/1d_fd_simple_shear.c
t@@ -118,7 +118,7 @@ main(int argc, char* argv[])
argv[1]);
return 1;
}
- argv++;
+ argc--; argv++;
break;
case 'T':
sim.transient = 1;