From 181690b3b3350a6242e2db5019bb4bb35241767b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Fri, 9 Aug 2019 10:25:49 +0200 Subject: [PATCH] BUG: add template before the use of a template function --- .../AppClassification/include/otbVectorPrediction.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx b/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx index 54b8d889d1..fde557da10 100644 --- a/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx +++ b/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx @@ -259,7 +259,7 @@ VectorPrediction<RegressionMode> itkExceptionMacro(<< "incorrect field type: " << field.GetType() << "."); } if (computeConfidenceMap) - dstFeature[confFieldName].SetValue<double>(quality->GetMeasurementVector(count)[0]); + dstFeature[confFieldName].template SetValue<double>(quality->GetMeasurementVector(count)[0]); if (updateMode) { outLayer.SetFeature(dstFeature); -- GitLab