Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update
Browse files Browse the repository at this point in the history
a-zakir committed Oct 16, 2023
1 parent 88e0c5b commit 8a52507
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -33,14 +33,14 @@ class SolverLogManager {
setvbuf(log_file_ptr, nullptr, _IONBF, 0);
}
}

~SolverLogManager() {
//TODO
/* ~SolverLogManager() {
if (log_file_ptr) {
fclose(log_file_ptr);
log_file_ptr = nullptr;
}
}

*/
FILE *log_file_ptr = nullptr;
std::filesystem::path log_file_path = "";
};
2 changes: 1 addition & 1 deletion tests/end_to_end/examples/example_test.py
Original file line number Diff line number Diff line change
@@ -276,7 +276,7 @@ def test_six_candidates_with_playlists_10_monte_carlo_years(
study_path = Issue688_Test
tmp_study = tmp_path / study_path.name
shutil.copytree(study_path, tmp_study)
shutil.copytree(tmp_study/"settings"/"10MC-generaldata.ini", tmp_study/"settings"/"generaldata.ini")
shutil.copyfile(tmp_study/"settings"/"10MC-generaldata.ini", tmp_study/"settings"/"generaldata.ini")
launch_xpansion(install_dir, tmp_study,
BendersMethod.BENDERS, allow_run_as_root, 1)
# verify_solution(tmp_study, expected_values, expected_investment_solution)

0 comments on commit 8a52507

Please sign in to comment.