Skip to content

Commit

Permalink
export from google3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Feb 10, 2025
1 parent a199d84 commit e6dbe93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions ortools/algorithms/set_cover_solve.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ FileFormat ParseFileFormat(const std::string& format_name) {
}
}

SetCoverModel ReadModel(const std::string& input_file,
FileFormat input_format) {
SetCoverModel ReadModel(absl::string_view input_file, FileFormat input_format) {
switch (input_format) {
case FileFormat::ORLIB_SCP:
return ReadOrlibScp(input_file);
Expand Down
1 change: 0 additions & 1 deletion ortools/util/fixed_shape_binary_tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ class FixedShapeBinaryTree {
template <typename TypeWithPushBack>
void PartitionIntervalIntoNodes(LeafIndex first_leaf, LeafIndex last_leaf,
TypeWithPushBack* result) const {
DCHECK_LE(first_leaf, last_leaf);
TreeNodeIndex prev(0);
TreeNodeIndex current = GetNodeStartOfRange(first_leaf, last_leaf);
if (current == Root()) {
Expand Down

0 comments on commit e6dbe93

Please sign in to comment.