Fixed bug
parent
09b2bc4ba5
commit
0ff7854f15
|
@ -54,7 +54,7 @@ SfM_data preamble(int argc, char* argv[]) {
|
||||||
filename = argv[argc - 1];
|
filename = argv[argc - 1];
|
||||||
else
|
else
|
||||||
filename = findExampleDataFile("dubrovnik-16-22106-pre");
|
filename = findExampleDataFile("dubrovnik-16-22106-pre");
|
||||||
bool success = readBAL(argv[argc - 1], db);
|
bool success = readBAL(filename, db);
|
||||||
if (!success) throw runtime_error("Could not access file!");
|
if (!success) throw runtime_error("Could not access file!");
|
||||||
return db;
|
return db;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue