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

BUG: reset the norm of the reference pixels when setting a new vector of reference pixels

parent 3ff93d36
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,7 @@ public:
void SetReferencePixels(std::vector<TReference> const & ref)
{
m_ReferencePixels = ref;
m_ReferenceNorm.clear();
// Precompute the norm of reference pixels
for (auto const & pix : ref)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment