From dade4272c7104653587ec516ce77a4ac6dee23da Mon Sep 17 00:00:00 2001 From: Yuan Gao Date: Sun, 10 Sep 2017 02:41:43 +0800 Subject: [PATCH] Update DetectionUtil.cpp --- paddle/gserver/layers/DetectionUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/gserver/layers/DetectionUtil.cpp b/paddle/gserver/layers/DetectionUtil.cpp index 92c6193035..7c18295385 100644 --- a/paddle/gserver/layers/DetectionUtil.cpp +++ b/paddle/gserver/layers/DetectionUtil.cpp @@ -537,7 +537,7 @@ void getDetectionOutput(const real* confData, Matrix::resizeOrCreate(outBuffer, numKept, 7, false, false); real* bufferData = outBuffer->getData(); for (size_t i = 0; i < 7; i++) - bufferData[i] = -1; + bufferData[i] = -1; size_t count = 0; for (size_t n = 0; n < batchSize; ++n) { for (map>::const_iterator it = allIndices[n].begin(); -- GitLab