Skip to content

Commit

Permalink
Don't delete previous directory (useless)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Oct 24, 2023
1 parent 6f6775a commit 5405b51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cpp/lpnamer/main/RunProblemGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ bool CreateDirectories(
auto xpansion_output_dir =
xpansion_output_path.parent_path() /
(xpansion_output_path.stem().string() + "-Xpansion");
if (std::filesystem::exists(xpansion_output_dir)) {
std::filesystem::remove_all(xpansion_output_dir);
}
std::filesystem::create_directories(xpansion_output_dir);
std::filesystem::create_directories(xpansion_output_dir / LP_DIRNAME);

Expand Down

0 comments on commit 5405b51

Please sign in to comment.