From 5c795a5f405970d10fa9828174744868d77b0c7d Mon Sep 17 00:00:00 2001 From: Olga Vysotska Date: Mon, 20 Nov 2017 14:33:40 +0100 Subject: [PATCH] fixed the create cost matrix app with new reading directory interface --- apps/create_cost_matrix/create_cost_matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/create_cost_matrix/create_cost_matrix.cpp b/apps/create_cost_matrix/create_cost_matrix.cpp index 3248cc1..beacafc 100644 --- a/apps/create_cost_matrix/create_cost_matrix.cpp +++ b/apps/create_cost_matrix/create_cost_matrix.cpp @@ -44,7 +44,7 @@ FeatureBuffer loadFeatures(const std::string &path2folder, printf("Loading features\n"); for (size_t i = 0; i < featureNames.size(); ++i) { iFeature::Ptr featurePtr = factory.createFeature(); - featurePtr->loadFromFile(path2folder + featureNames[i]); + featurePtr->loadFromFile(featureNames[i]); buffer.addFeature(i, featurePtr); fprintf(stderr, "."); }