Skip to content
Snippets Groups Projects
Commit e8466151 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: use otb::CONST_PI as M_PI is unknown on MSVC

parent 83e89108
No related branches found
No related tags found
No related merge requests found
......@@ -134,8 +134,8 @@ SparseUnmixingImageFilter< TInputImage, TOutputImage, VNbInputImage, TPrecision,
HistogramSizeType size;
size.Fill( m_NumberOfHistogramBins );
MeasurementVectorType theMin (0.);
theMin[NumberOfInputImages-2] = -M_PI;
MeasurementVectorType theMax (M_PI);
theMin[NumberOfInputImages-2] = -otb::CONST_PI;
MeasurementVectorType theMax (otb::CONST_PI);
m_Histogram->Initialize( size, theMin, theMax );
typename InternalSampleListType::Iterator angleIter
......
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