Commit 761510cb authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: fix radiometricindex assert

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -194,7 +194,7 @@ protected:
*/
double Value(BandNameType band, const itk::VariableLengthVector<TInput>& input) const
{
assert(m_RequiredBands[band] && "Retrieving value for a band that is not in the required bands list");
assert(m_RequiredBands[static_cast<size_t>(band)] && "Retrieving value for a band that is not in the required bands list");
return static_cast<double>(input[UncheckedBandIndex(band) - 1]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment