From efa24a68cef91cacd545be62970e3af8fecf180a Mon Sep 17 00:00:00 2001 From: srit Date: Sun, 20 Mar 2011 20:00:49 +0000 Subject: [PATCH] Fixed compiling error by MSVC++ --- vv/vvSlicer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 86824a2..5a15a16 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -1220,7 +1220,7 @@ double vvSlicer::GetScalarComponentAsDouble(vtkImageData *image, int X, double Y iy > image->GetWholeExtent()[3] || iz < image->GetWholeExtent()[4] || iz > image->GetWholeExtent()[5] ) - return sqrt(-1); + return sqrt(-1.); image->SetUpdateExtent(ix, ix, iy, iy, iz, iz); image->Update(); -- 2.47.1