Skip to content

Commit e9b4ef1

Browse files
committed
Minor changes
1 parent 7951480 commit e9b4ef1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sbf.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ void SBF::PrintFilter(int mode)
310310

311311

312312
// Prints the filter and related statistics onto a CSV file (path)
313-
// mode: 0 writes SBF metadata (CSV: key;value)
314-
// mode: 1 writes SBF cells (CSV: value)
313+
// mode: 1 writes SBF metadata (CSV: key;value)
314+
// mode: 0 writes SBF cells (CSV: value)
315315
void SBF::SaveToDisk(std::string path, int mode)
316316
{
317317
std::ofstream myfile;

test-app/test-app.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int main() {
4141
int len, line_count, area, area_check, n, narea, nver;
4242
int well_recognised, false_positives, exchanged_elements;
4343
char* element;
44-
sbf::SBF* myFilter;
44+
sbf::SBF* myFilter = NULL;
4545

4646
/* ****************************** SETTINGS ****************************** */
4747

@@ -90,7 +90,7 @@ int main() {
9090

9191
std::string input;
9292
//asks for construction dataset file (mandatory)
93-
std::cout << "Enter the name of the construction dataset (like area-elements-unif.csv)..." << std::endl;
93+
std::cout << "Enter the name of the construction dataset (like area-element-unif.csv)..." << std::endl;
9494
std::cin >> construction_dataset;
9595
std::cin.ignore();
9696

0 commit comments

Comments
 (0)