Commit cfd4f22b authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Merge branch 'release'

parents fea27536 ee0e0bba
......@@ -284,7 +284,9 @@ IceTImage icetSplitCompose(void)
tile_groups[num_tiles] = num_proc;
/* Figure out which tile I am assigned to. */
for (my_tile = 0; rank >= tile_groups[my_tile+1]; my_tile++);
for (my_tile = 0; rank >= tile_groups[my_tile+1]; my_tile++) {
/* Nothing to do. Just drop out of loop when my_tile is correct. */
}
icetRaiseDebug1("My tile is %d", my_tile);
group_size = tile_groups[my_tile+1] - tile_groups[my_tile];
......
......@@ -183,7 +183,7 @@ static int MaxImageSplitCheckImage(const IceTImage image)
IceTInt x, y;
for (y = 0; y < PROC_REGION_HEIGHT; y++) {
for (x = 0; x < PROC_REGION_WIDTH; x++) {
if (*pixel != proc) {
if (*pixel != (IceTUInt)proc) {
printrank("**** Found bad pixel!!!! ****\n");
printrank("Region for process %d, x = %d, y = %d\n",
proc, x, y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment