diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-20 10:33:16 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-20 10:33:16 -0300 |
commit | 2b4a51568851e562d62349ed11cb13788dfd9c78 (patch) | |
tree | 6b2d966320e06ba4be20b96fb0e1c09bd3592c85 | |
parent | 5b7aa6fc1be23f4999741dc5bbebbe2225c70e18 (diff) | |
download | code-2b4a51568851e562d62349ed11cb13788dfd9c78.tar.gz code-2b4a51568851e562d62349ed11cb13788dfd9c78.tar.bz2 code-2b4a51568851e562d62349ed11cb13788dfd9c78.zip |
Adjust ε from the command line
-rw-r--r-- | log-fourier_integrator.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index 72eb96c..e3af989 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -23,7 +23,7 @@ int main(int argc, char* argv[]) { int opt; - while ((opt = getopt(argc, argv, "p:s:2:T:t:b:d:g:k:D:")) != -1) { + while ((opt = getopt(argc, argv, "p:s:2:T:t:b:d:g:k:D:e:")) != -1) { switch (opt) { case 'p': p = atoi(optarg); @@ -52,6 +52,9 @@ int main(int argc, char* argv[]) { case 'D': Δτ = atof(optarg); break; + case 'e': + ε = atof(optarg); + break; default: exit(1); } |