diff options
author | Thomas White <taw@physics.org> | 2017-09-22 13:37:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-09-22 13:37:54 +0200 |
commit | e07517ba5b579c757908ed0855ac6ee0e8f5cd3b (patch) | |
tree | 9f0b20acac51da0582cae0987f207168640e5b13 | |
parent | 2c25695f9516beb5d27fd6a42696c4af1bec77b5 (diff) |
cell_explorer: Also count cells excluded by the choice of indexing method
-rw-r--r-- | src/cell_explorer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c index ed17c2cd..a8a8a7dc 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -657,9 +657,13 @@ static void scan_cells(CellWindow *w) } } - if ( ignore ) continue; + if ( ignore ) { + n_excl++; + continue; + } if ( cell_get_parameters(cells[i], &a, &b, &c, &al, &be, &ga) ) { + n_excl++; continue; } a *= 1e10; b *= 1e10; c *= 1e10; |