Skip to content

Commit e6dbe93

Browse files
committed
export from google3
1 parent a199d84 commit e6dbe93

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ortools/algorithms/set_cover_solve.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ FileFormat ParseFileFormat(const std::string& format_name) {
142142
}
143143
}
144144

145-
SetCoverModel ReadModel(const std::string& input_file,
146-
FileFormat input_format) {
145+
SetCoverModel ReadModel(absl::string_view input_file, FileFormat input_format) {
147146
switch (input_format) {
148147
case FileFormat::ORLIB_SCP:
149148
return ReadOrlibScp(input_file);

ortools/util/fixed_shape_binary_tree.h

-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ class FixedShapeBinaryTree {
218218
template <typename TypeWithPushBack>
219219
void PartitionIntervalIntoNodes(LeafIndex first_leaf, LeafIndex last_leaf,
220220
TypeWithPushBack* result) const {
221-
DCHECK_LE(first_leaf, last_leaf);
222221
TreeNodeIndex prev(0);
223222
TreeNodeIndex current = GetNodeStartOfRange(first_leaf, last_leaf);
224223
if (current == Root()) {

0 commit comments

Comments
 (0)