Fix assert in DotProductImageFilter

In MR !427 (merged) was added an assert on the size of two vectors :

assert(in.Size() == m.Size());

but m does not exist ... It should be:

assert(in.Size() == m_Vector.Size());

Dashboard was green because the branch was compiled in release mode, without the assert.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.

Edited by Cédric Traizet

Merge request reports

Loading