diff options
author | Thomas White <taw@physics.org> | 2013-11-22 23:47:15 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-11-23 02:52:52 -0800 |
commit | 6647299adac4cf4fa4ebda5c9bd00773efab18e3 (patch) | |
tree | fd151b2af3ec11cbcbf3726f4f9ade20693a3a48 /src | |
parent | 431c44e9a64add4becfbb6b407effba0411eb5b9 (diff) |
Add --int-diag=negative
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 4 |
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; |