diff --git a/Code/Simulation/otbReduceSpectralResponse.h b/Code/Simulation/otbReduceSpectralResponse.h
index 6fdb68fa081d0b8be27dd7103a4faec4f5c36024..5c3e605b6d67fae309b56a482a8e97cd76e74d8b 100644
--- a/Code/Simulation/otbReduceSpectralResponse.h
+++ b/Code/Simulation/otbReduceSpectralResponse.h
@@ -33,7 +33,7 @@ namespace otb
    *
    * It takes the spectral response of an object and the relative spectral
    * response of a satellite (one response per band) to compute the satellite spectral bands.
-   * 
+   *
    * There are 2 operating modes:
    * - luminance mode (default): integrates the spectral response over each band
    * - reflectance mode (needs to call SetReflectanceMode(true)): takes into account the solar irradiance in the integration
diff --git a/Code/Simulation/otbReduceSpectralResponse.txx b/Code/Simulation/otbReduceSpectralResponse.txx
index 09a2377c53fc6c5674aecd61286c650f9b5f8c85..a1620c775b008d0d6a75c21128bbeffad5ced56b 100644
--- a/Code/Simulation/otbReduceSpectralResponse.txx
+++ b/Code/Simulation/otbReduceSpectralResponse.txx
@@ -84,9 +84,9 @@ ReduceSpectralResponse<TSpectralResponse , TRSR>
       while (pit != pairs.end())
         {
         totalArea += ((*pit).second)*(*solarIrradiance)((*pit).first);
-        ++pit;        
+        ++pit;
         }
-      }    
+      }
 
     while (it != pairs.end() - 1)
       {
@@ -295,7 +295,7 @@ ReduceSpectralResponse<TSpectralResponse , TRSR>
    for(typename VectorPairType::const_iterator it = m_ReduceResponse->GetResponse().begin(); it != m_ReduceResponse->GetResponse().end(); ++it)
    {
      os <<indent << "Band Nb : "<< it - m_ReduceResponse->GetResponse().begin() << ": [" << (*it).first << ","<< (*it).second << "]" << std::endl;
-   }   
+   }
 }
 
 } // end namespace otb