From fb67c949a92c1611f9c189c32302f384c0a58558 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Fri, 5 Jun 2015 12:29:40 -0400 Subject: [PATCH] Fixing TestBlobAnalyze --- tests/TestBlobAnalyze.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestBlobAnalyze.cpp b/tests/TestBlobAnalyze.cpp index 9cd2e1d4..3f676858 100644 --- a/tests/TestBlobAnalyze.cpp +++ b/tests/TestBlobAnalyze.cpp @@ -200,12 +200,12 @@ int main(int argc, char **argv) n = k*Nx*Ny+j*Nx+i; // Shrink the sphere sizes by two voxels to make sure they don't touch Averages.SDs(i,j,k) = 100.0; - Averages.Phase(i,j,k) += 2.0; + Averages.Phase(i,j,k) -= 2.0; if (Averages.Phase(i,j,k) > 0.0){ - Dm.id[n] = 1; + Dm.id[n] = 2; } else{ - Dm.id[n] = 2; + Dm.id[n] = 1; } } }