Skip to content
Snippets Groups Projects
Commit f7cddc11 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: Fix assert

parent 8465c06d
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ public: ...@@ -64,7 +64,7 @@ public:
* */ * */
void SetReferenceWaterPixel(PixelType ref) void SetReferenceWaterPixel(PixelType ref)
{ {
assert(m_ReferencePixel.Size == 4); assert(m_ReferencePixel.Size() == 4);
m_ReferencePixel[0] = this->Value(CommonBandNames::BLUE, ref); m_ReferencePixel[0] = this->Value(CommonBandNames::BLUE, ref);
m_ReferencePixel[1] = this->Value(CommonBandNames::GREEN, ref); m_ReferencePixel[1] = this->Value(CommonBandNames::GREEN, ref);
m_ReferencePixel[2] = this->Value(CommonBandNames::RED, ref); m_ReferencePixel[2] = this->Value(CommonBandNames::RED, ref);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment