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
......@@ -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)
{
......
Markdown is supported
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