From cc30219d57a0d01422bd8e455dc7ebd99b91c3b1 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Thu, 12 Nov 2015 15:23:56 -0500 Subject: [PATCH] Adding error check to TestSegDist --- tests/TestSegDist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSegDist.cpp b/tests/TestSegDist.cpp index c59d0b9f..8bddf691 100644 --- a/tests/TestSegDist.cpp +++ b/tests/TestSegDist.cpp @@ -68,6 +68,9 @@ int main(int argc, char **argv) Cy = 1.0*ny; Cz = 1.0*nz; + DoubleArray Distance(nx,ny,nz); + DoubleArray TrueDist(nx,ny,nz); + for (k=1;k