diff --git a/Code/Simulation/otbReduceSpectralResponse.h b/Code/Simulation/otbReduceSpectralResponse.h index d57bc2324a0d55927de374824277c7318da20cdb..ba74d3ad3de2e830d5c025e359096943c60ad894 100644 --- a/Code/Simulation/otbReduceSpectralResponse.h +++ b/Code/Simulation/otbReduceSpectralResponse.h @@ -41,7 +41,7 @@ namespace otb * the solar irradiance in the integration * * The two templates indicate: - * - the SpectralResponse input + * - the SpectralResponse input * - the relative spectral response (RSR) of a sensor * * The computation assumes that the RSR of the sensor has a diff --git a/Code/Simulation/otbReduceSpectralResponse.txx b/Code/Simulation/otbReduceSpectralResponse.txx index 32531282cb44fb4d32db52818267a748a6f10401..e1ef267c7da2bddcd495d28d5b44f7276bba0432 100644 --- a/Code/Simulation/otbReduceSpectralResponse.txx +++ b/Code/Simulation/otbReduceSpectralResponse.txx @@ -119,7 +119,7 @@ ReduceSpectralResponse<TSpectralResponse , TRSR> rsr1, rsr2); ++it; - } + } return res / totalArea; } }