Skip to content

Commit

Permalink
fixed the create cost matrix app with new reading directory interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ovysotska authored Nov 20, 2017
1 parent fe1fc48 commit 5c795a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/create_cost_matrix/create_cost_matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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, ".");
}
Expand Down

0 comments on commit 5c795a5

Please sign in to comment.