"src/diffusers/models/controlnets/__init__.py" did not exist on "76b7d86a9a5c0c2186efa09c4a67b5f5666ac9e3"
Unverified Commit 1c00f3a8 authored by Da Zheng's avatar Da Zheng Committed by GitHub
Browse files

fix compile error on Mac. (#896)

parent d0eae92e
......@@ -977,7 +977,7 @@ IdArray CheckExistence(GraphPtr gptr, IdArray relations,
return exist;
}
std::vector<dgl_id_t> Global2Local(const std::vector<dgl_id_t> &ids,
std::vector<dgl_id_t> Global2Local(const std::vector<size_t> &ids,
const std::unordered_map<dgl_id_t, dgl_id_t> &map) {
std::vector<dgl_id_t> local_ids(ids.size());
for (size_t i = 0; i < ids.size(); i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment