Skip to content

Commit

Permalink
remove int128 abls::Stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Aug 10, 2023
1 parent 5c05275 commit 734df45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions ortools/base/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,4 @@ enum LogSeverity {
};
} // namespace google

namespace absl {
template <typename Sink>
void AbslStringify(Sink& sink, absl::int128 v) {
std::ostringstream oss;
oss << v;
sink.Append(oss.str());
}
} // namespace absl

#endif // OR_TOOLS_BASE_LOGGING_H_
4 changes: 2 additions & 2 deletions ortools/sat/cuts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ std::string CutTerm::DebugString() const {
}

std::string CutData::DebugString() const {
std::string result = absl::StrCat("CutData rhs="/*, rhs*/, "\n");
std::string result = absl::StrCat("CutData rhs=", rhs, "\n");
for (const CutTerm& term : terms) {
absl::StrAppend(&result, term.DebugString(), "\n");
}
Expand Down Expand Up @@ -1996,7 +1996,7 @@ std::string SingleNodeFlow::DebugString() const {
return absl::StrCat(
"#in:", in_flow.size()
," #out:", out_flow.size()
//," demand:", demand
," demand:", demand
," #bool:", num_bool
," #lb:", num_to_lb
," #ub:", num_to_ub
Expand Down

0 comments on commit 734df45

Please sign in to comment.