aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-23 03:42:33 -0800
committerThomas White <taw@physics.org>2013-11-23 03:42:33 -0800
commitd1d8e9d2f7bdb13977181145519f71fa23c3cb73 (patch)
tree01162379aa5fd6c852529b7f221bee8c434d4d4f /src/indexamajig.c
parenta3ba3943e966461d7f7f8f1c956159b5794e600e (diff)
indexamajig: Add --int-diag=implausible
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index b769d303..7aeccd53 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -552,6 +552,10 @@ int main(int argc, char *argv[])
iargs.int_diag = INTDIAG_NEGATIVE;
}
+ if ( strcmp(int_diag, "implausible") == 0 ) {
+ iargs.int_diag = INTDIAG_IMPLAUSIBLE;
+ }
+
r = sscanf(int_diag, "%i,%i,%i", &h, &k, &l);
if ( r == 3 ) {
iargs.int_diag = INTDIAG_INDICES;