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

WRG: comparison between signed and unsigned

parent e8466151
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,7 @@ SparseUnmixingImageFilter< TInputImage, TOutputImage, VNbInputImage, TPrecision,
HistogramIndexType nextIdx = curIdx;
if ( static_cast<int>( nextIdx[k] ) == m_Histogram->GetSize(k)-1 )
if ( static_cast<PrecisionType>( nextIdx[k] ) == m_Histogram->GetSize(k)-1 )
nextIdx[k] = 0;
else
nextIdx[k] = curIdx[k]+1;
......
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