diff Orthanc/ImageFormats/ImageProcessing.cpp @ 23:7a0af291cc90

Synchronization with Orthanc mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 01 Jun 2015 11:52:28 +0200
parents 02f7a0400a91
children
line wrap: on
line diff
--- a/Orthanc/ImageFormats/ImageProcessing.cpp	Fri May 29 11:07:38 2015 +0200
+++ b/Orthanc/ImageFormats/ImageProcessing.cpp	Mon Jun 01 11:52:28 2015 +0200
@@ -209,7 +209,7 @@
   void MultiplyConstantInternal(ImageAccessor& image,
                                 float factor)
   {
-    if (abs(factor - 1.0f) <= std::numeric_limits<float>::epsilon())
+    if (std::abs(factor - 1.0f) <= std::numeric_limits<float>::epsilon())
     {
       return;
     }