aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;