Skip to content

Fix assert in DotProductImageFilter

Cédric Traizet requested to merge fix_dotProductImageFilter into develop

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