Commit cc3fdd00 authored by n001519's avatar n001519

fix the mser issue

parent 11af7b7e
...@@ -335,6 +335,8 @@ public: ...@@ -335,6 +335,8 @@ public:
head = comp1->head; head = comp1->head;
tail = comp2->tail; tail = comp2->tail;
size = comp1->size + comp2->size; size = comp1->size + comp2->size;
// update the history size
history->size =size;
CompHistory *h1 = history->child_; CompHistory *h1 = history->child_;
CompHistory *h2 = comp2->history; CompHistory *h2 = comp2->history;
......
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