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
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -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)
{ {
......
Supports Markdown
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