From 94a6cd4cd211aa66a842b172283cbd7b8c684809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Tue, 6 Aug 2019 14:46:32 +0200 Subject: [PATCH] BUG: increment the count variable at the end of the range based for loop --- .../AppClassification/include/otbVectorPrediction.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx b/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx index c46a11a1aa..d4de8f2a70 100644 --- a/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx +++ b/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx @@ -280,6 +280,7 @@ void VectorPrediction<RegressionMode>::DoExecute() { outLayer.CreateFeature(dstFeature); } + count++; } if (outLayer.ogr().TestCapability("Transactions")) -- GitLab