fixed some small bugus

This commit is contained in:
toni
2018-05-15 09:53:43 +02:00
parent 2074836e1c
commit 4b90ba9ca4
2 changed files with 7 additions and 5 deletions

View File

@@ -66,8 +66,9 @@ else()
-fstack-protector-all
-g3
#-O2
-O2
-march=native
)
endif()
@@ -97,6 +98,7 @@ ADD_EXECUTABLE(
# needed external libraries
TARGET_LINK_LIBRARIES(
${PROJECT_NAME}
stdc++fs
# gtest
# pthread
)

View File

@@ -241,12 +241,12 @@ Stats::Statistics<float> run(Settings::DataSetup setup, int numFile, std::string
/* plot in gp file */
std::ofstream plotFile;
plotFile.open(evalDir + "/" + std::to_string(numFile) + "_" + std::to_string(t) + ".gp");
plotFile.open(evalDir.string() + "/" + std::to_string(numFile) + "_" + std::to_string(t) + ".gp");
plot.saveToFile(plotFile);
plotFile.close();
//save also a png image, just for a better overview
plot.printOverview(evalDir + "/" + std::to_string(numFile) + "_" + std::to_string(t));
plot.printOverview(evalDir.string() + "/" + std::to_string(numFile) + "_" + std::to_string(t));
plot.plot();
return errorStats;
@@ -260,9 +260,9 @@ int main(int argc, char** argv) {
Stats::Statistics<float> statsQuantil;
Stats::Statistics<float> tmp;
std::string evaluationName = "museum/Path3_Museum_KLD_SimpleDistance";
std::string evaluationName = "museum/tmp";
for(int i = 0; i < 100; ++i){
for(int i = 0; i < 1; ++i){
//TODO: in transition die distance über KLD noch einkommentieren als Test