From ab164ae3679829578ec54093e13bbd874b3756a2 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Mon, 15 Oct 2012 14:57:27 +0200
Subject: [PATCH] ENH: PleiadesImageMetadataInterface

---
 Code/IO/otbPleiadesImageMetadataInterface.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/IO/otbPleiadesImageMetadataInterface.cxx b/Code/IO/otbPleiadesImageMetadataInterface.cxx
index f2b06011b3..ed62c32b9b 100644
--- a/Code/IO/otbPleiadesImageMetadataInterface.cxx
+++ b/Code/IO/otbPleiadesImageMetadataInterface.cxx
@@ -127,7 +127,7 @@ PleiadesImageMetadataInterface::GetSolarIrradiance() const
   outputValuesVariableLengthVector.SetSize(outputValues.size());
   outputValuesVariableLengthVector.Fill(0);
 
-  // Check if the default irradiance are present : "999"
+  // Check if the default irradiance are present ("999", see bug #601 on Mantis)
   bool isFakeRadiance = true;
   for (unsigned int i = 0; i < outputValues.size(); ++i)
     {
@@ -149,7 +149,7 @@ PleiadesImageMetadataInterface::GetSolarIrradiance() const
     else
       {
       // MS, ordered as B0, B1, B2, B3
-      double defaultRadiance[4] =
+      const double defaultRadiance[4] =
         {
           1915.01,
           1830.57,
-- 
GitLab