Skip to content
Snippets Groups Projects
Commit ebb806d7 authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

COMP: windows build fix.

parent 87fd2baa
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,6 @@ class SatelliteRSR : public itk::DataObject
itkSetMacro(NbBands, unsigned int);
itkSetMacro(SortBands, bool);
static const double wavelengthPrecision = 0.0025; //in um
/** Template parameters typedef */
typedef TPrecision PrecisionType;
......
......@@ -88,9 +88,11 @@ SatelliteRSR<TPrecision, TValuePrecision>
::Load(PrecisionType lambdaMin, PrecisionType lambdaMax , PrecisionType sampling, ValuePrecisionType coefNormalization )
{
m_NbBands = 1;
const double wavelengthPrecision = 0.0025; //in um
if (0 == sampling)
{
sampling = this->wavelengthPrecision;
sampling = wavelengthPrecision;
}
// For each band
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment