aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-22 23:47:15 -0800
committerThomas White <taw@physics.org>2013-11-23 02:52:52 -0800
commit6647299adac4cf4fa4ebda5c9bd00773efab18e3 (patch)
treefd151b2af3ec11cbcbf3726f4f9ade20693a3a48 /src
parent431c44e9a64add4becfbb6b407effba0411eb5b9 (diff)
Add --int-diag=negative
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index c450fd83..b769d303 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -548,6 +548,10 @@ int main(int argc, char *argv[])
iargs.int_diag = INTDIAG_ALL;
}
+ if ( strcmp(int_diag, "negative") == 0 ) {
+ iargs.int_diag = INTDIAG_NEGATIVE;
+ }
+
r = sscanf(int_diag, "%i,%i,%i", &h, &k, &l);
if ( r == 3 ) {
iargs.int_diag = INTDIAG_INDICES;