From 8a80e124f1b2ff1e4aef55a1f0fbe99273baed59 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Wed, 14 Jan 2015 12:25:46 -0800 Subject: [PATCH] Fix percent and time remaining displays for self-comparison --- openbr/core/core.cpp | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index dc4ae36..8c00a9c 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -407,6 +407,9 @@ struct AlgorithmCore rowSize = temp->totalSize(); delete temp; + if (selfCompare) + rowSize = queryMetadata.size(); + // Is the column gallery already enrolled? We keep the enrolled column gallery in memory, and in multi-process // mode, every worker process retains a copy of this gallery in memory. When not in multi-process mode, we can // simple make sure the enrolled data is stored in a memGallery, but in multi-process mode we save the enrolled -- libgit2 0.21.4