Skip to content

Commit

Permalink
Merge branch 'master' of github.com:google/or-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Dec 14, 2021
2 parents 65dfdd2 + 60b3dd7 commit f6b59de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ortools/sat/cp_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ LinearExpr IntVar::AddConstant(int64_t value) const {
return LinearExpr(*this).AddConstant(value);
}

Domain IntVar::Domain() const {
::operations_research::Domain IntVar::Domain() const {
if (builder_ == nullptr) return Domain();
return ReadDomainFromProto(builder_->Proto().variables(index_));
}
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/cp_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class IntVar {
}

// Returns the domain of the variable.
Domain Domain() const;
::operations_research::Domain Domain() const;

std::string DebugString() const;

Expand Down

0 comments on commit f6b59de

Please sign in to comment.