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

Merge branch 'fix_dotProductImageFilter' into 'develop'

Fix assert in DotProductImageFilter

See merge request orfeotoolbox/otb!437
parents 2ec06ed1 56f24b5a
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
OutputType operator()(const InputType& in) OutputType operator()(const InputType& in)
{ {
assert(in.Size() == m.Size()); assert(in.Size() == m_Vector.Size());
OutputType result = 0; OutputType result = 0;
for (unsigned int i = 0; i < in.Size(); ++i) for (unsigned int i = 0; i < in.Size(); ++i)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment