Skip to content

Commit

Permalink
remove pybind in cpp code
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett4wade committed Jul 3, 2024
1 parent b7e8a36 commit 69da2e7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions csrc/interval_op/interval_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@ std::vector<std::pair<size_t, size_t>> merge_intervals(
merged_intervals.push_back({start, end});
return merged_intervals;
}

PYBIND11_MODULE(interval_op, m) {
m.def("merge_intervals", &merge_intervals, "Merge neighbour intervals into contiguous ones.");
}

0 comments on commit 69da2e7

Please sign in to comment.