Skip to content

Commit

Permalink
[bug] fix maskdet 1cube test
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 9, 2024
1 parent ee5be15 commit 4e0c672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcx_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -4172,7 +4172,7 @@ void mcx_maskdet(Config* cfg) {
dy = cfg->dim.y + 2;
dz = cfg->dim.z + 2;

isonecube = (cfg->dim.x == 1) && (cfg->dim.x == 1) && (cfg->dim.x == 1);
isonecube = (cfg->dim.x == 1) && (cfg->dim.y == 1) && (cfg->dim.z == 1);

/*handling boundaries in a volume search is tedious, I first pad vol by a layer of zeros,
then I don't need to worry about boundaries any more*/
Expand Down

0 comments on commit 4e0c672

Please sign in to comment.