Commit 8a80e124f1b2ff1e4aef55a1f0fbe99273baed59

Authored by Charles Otto
1 parent 274f205b

Fix percent and time remaining displays for self-comparison

Showing 1 changed file with 3 additions and 0 deletions
openbr/core/core.cpp
... ... @@ -407,6 +407,9 @@ struct AlgorithmCore
407 407 rowSize = temp->totalSize();
408 408 delete temp;
409 409  
  410 + if (selfCompare)
  411 + rowSize = queryMetadata.size();
  412 +
410 413 // Is the column gallery already enrolled? We keep the enrolled column gallery in memory, and in multi-process
411 414 // mode, every worker process retains a copy of this gallery in memory. When not in multi-process mode, we can
412 415 // simple make sure the enrolled data is stored in a memGallery, but in multi-process mode we save the enrolled
... ...