From 198592a8377116edeb4b6eddc06237645fd8f6d5 Mon Sep 17 00:00:00 2001 From: Jonathan Guinet <jonathan.guinet@c-s.fr> Date: Wed, 14 Dec 2011 08:55:15 +0100 Subject: [PATCH] COMP: ColorMapping compilation error on MacOS . --- Applications/Utils/otbColorMapping.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Utils/otbColorMapping.cxx b/Applications/Utils/otbColorMapping.cxx index 88dbae4ee3..1b4d86c2eb 100644 --- a/Applications/Utils/otbColorMapping.cxx +++ b/Applications/Utils/otbColorMapping.cxx @@ -147,7 +147,7 @@ public: TValue value = m_LabelToImageIntensityMap[i]; for (unsigned int index = 0; index < value.Size(); index++) { - value[index]=value[index]/static_cast<float>(m_WeigthingMap.at(i)); + value[index]=value[index]/static_cast<float>(m_WeigthingMap[i]); } MeanMap[i]=value; } -- GitLab