Skip to content

Commit

Permalink
TESTING: math_opt add trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 11, 2023
1 parent bab8c0c commit 1dca574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ortools/math_opt/core/solver_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ class AllSolversRegistry {
#define MATH_OPT_REGISTER_SOLVER(solver_type, solver_factory) \
namespace { \
const void* const kRegisterSolver ABSL_ATTRIBUTE_UNUSED = [] { \
std::cerr << "registering " << ProtoEnumToString(solver_type) << std::endl; \
AllSolversRegistry::Instance()->Register(solver_type, solver_factory); \
std::cerr << "registering " << ProtoEnumToString(solver_type) << "...DONE" << std::endl; \
return nullptr; \
}(); \
} // namespace
Expand Down

0 comments on commit 1dca574

Please sign in to comment.