Commit 15c04ac8 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: Fix typo in MaskedIteratorDecorator

parent cffaf2ba
......@@ -179,7 +179,7 @@ void MaskedIteratorDecorator<TIteratorType>::ComputeMaskedBegin()
// We must search for the first index where the image is not masked
// Start searching at the begining
m_ItMask.GoToBegin();
m_ItImage.GoToEnd();
m_ItImage.GoToBegin();
// Advance to the first non-masked position, or the end
while (m_ItMask.Value() == 0 && !m_ItMask.IsAtEnd() && !m_ItImage.IsAtEnd())
......
Markdown is supported
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