Skip to content

Commit

Permalink
BUG: Fix Read Image Stack Flip about X Axis.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Jan 5, 2024
1 parent f1d7bbe commit 8b57c64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void FlipAboutXAxis(DataArray<T>& dataArray, Vec3<usize>& dims)
{
auto& tempDataStore = dataArray.getDataStoreRef();
usize numComp = tempDataStore.getNumberOfComponents();
size_t rowLCV = (dims[1] % 2 == 1) ? (dims[1] - 1 / 2) : dims[1] / 2;
size_t rowLCV = (dims[1] % 2 == 1) ? ((dims[1] - 1) / 2) : dims[1] / 2;
usize bottomRow = dims[1] - 1;

for(usize row = 0; row < rowLCV; row++)
Expand Down

0 comments on commit 8b57c64

Please sign in to comment.