tFix argument counter when manually parsing pulse shape option - cngf-pf - cont… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0aa2e0a1d2b633938efda33bff1e183e8a7f7140 | |
parent cfe214096449b4b1f0aa0ecd098de6f37288cc24 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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; |