diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index a417eaf6..29870957 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -298,6 +298,7 @@ int main(int argc, char *argv[]) iargs.felix_opts.n_voxels = 0; iargs.felix_opts.test_fraction = -1.0; iargs.felix_opts.sigma = -1.0; + iargs.felix_opts.domega = -1.0; /* Long options */ const struct option longopts[] = { @@ -389,6 +390,7 @@ int main(int argc, char *argv[]) {"felix-test-fraction", 1, NULL, 42}, {"felix-sigma", 1, NULL, 43}, {"serial-start", 1, NULL, 44}, + {"felix-domega", 1, NULL, 45}, {0, 0, NULL, 0} }; @@ -698,6 +700,14 @@ int main(int argc, char *argv[]) return 1; } break; + + case 45: + if ( sscanf(optarg, "%lf", &iargs.felix_opts.domega) != 1 ) + { + ERROR("Invalid value for --felix-domega\n"); + return 1; + } + break; case 0 : break; |