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, "."); }