Skip to content

Commit

Permalink
update & fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Dec 19, 2023
1 parent e63468c commit becdf7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/solver/utils/ortools_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void OrtoolsLogHandler::init()
// std::stringstream ss;
// ss << myid;
std::ostringstream name;
ss << "thread_" << thread_number_ << ".log";
name << "thread_" << thread_number_ << ".log";

log_file_per_thread_ = log_directory_ / name.str();

Expand Down
2 changes: 1 addition & 1 deletion src/solver/utils/ortools_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class OrtoolsLogHandler : public LogHandlerInterface
uint thread_number);

explicit OrtoolsLogHandler(const OrtoolsLogHandler& other) :
OrtoolsLogHandler(other.solver_name_, other.log_directory_)
OrtoolsLogHandler(other.solver_name_, other.log_directory_, other.thread_number_)
{
}

Expand Down

0 comments on commit becdf7f

Please sign in to comment.