From: srit Date: Sun, 20 Mar 2011 20:00:49 +0000 (+0000) Subject: Fixed compiling error by MSVC++ X-Git-Tag: v1.2.0~147 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=efa24a68cef91cacd545be62970e3af8fecf180a;p=clitk.git Fixed compiling error by MSVC++ --- 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();