Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
denizdiktas committed Jul 28, 2023
1 parent 5a08d9a commit ddaa233
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Arrangement_on_surface_2/demo/earth/Aos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1090,8 +1090,8 @@ void Aos::save_arr(Kml::Placemarks& placemarks, const std::string& file_name)
}
std::cout << "total num half-edges = " << total_num_half_edges << std::endl;

std::ofstream ofile("C:/work/gsoc2023/deneme.txt");
ofile << js;
// save the arrangment
std::ofstream ofile(file_name);
ofile << js.dump(2);
ofile.close();

}
}
2 changes: 1 addition & 1 deletion Arrangement_on_surface_2/demo/earth/Main_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void Main_widget::initializeGL()
}

{
Aos::save_arr(m_countries, "");
Aos::save_arr(m_countries, "C:/work/gsoc2023/deneme.json");
}

// initialize rendering of DUPLICATE VERTICES
Expand Down

0 comments on commit ddaa233

Please sign in to comment.