BUG: segmentation fault when unwrapping 3d image

Unwrapping a 3D image using unwrap_phase no longer causes a segmentation
fault when the wrap_around parameter is True for the middle dimension.
This commit is contained in:
Jonathan Helmus
2014-09-24 10:11:38 -05:00
parent 62343977a4
commit 4fc6f8b064
+1 -1
View File
@@ -786,7 +786,7 @@ void verticalEDGEs(VOXELM *voxel, EDGE *edge, int volume_width, int volume_heig
}
voxel_pointer++;
}
voxel_pointer += next_voxel + 1;
voxel_pointer += next_voxel;
}
}
params->no_of_edges = no_of_edges;