Commit f7cddc11 authored by Cédric Traizet's avatar Cédric Traizet

BUG: Fix assert

parent 8465c06d
Pipeline #4135 failed with stages
in 5 minutes and 30 seconds
......@@ -64,7 +64,7 @@ public:
* */
void SetReferenceWaterPixel(PixelType ref)
{
assert(m_ReferencePixel.Size == 4);
assert(m_ReferencePixel.Size() == 4);
m_ReferencePixel[0] = this->Value(CommonBandNames::BLUE, ref);
m_ReferencePixel[1] = this->Value(CommonBandNames::GREEN, ref);
m_ReferencePixel[2] = this->Value(CommonBandNames::RED, ref);
......
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