Commit ee08da1f authored by rusty1s's avatar rusty1s
Browse files

fix

parent 288cfd44
...@@ -131,7 +131,7 @@ relabel_one_hop_cpu(torch::Tensor rowptr, torch::Tensor col, ...@@ -131,7 +131,7 @@ relabel_one_hop_cpu(torch::Tensor rowptr, torch::Tensor col,
} }
} }
if (bipartite) if (!bipartite)
out_rowptr = torch::cat( out_rowptr = torch::cat(
{out_rowptr, torch::full({(int64_t)n_ids.size()}, out_col.numel(), {out_rowptr, torch::full({(int64_t)n_ids.size()}, out_col.numel(),
rowptr.options())}); rowptr.options())});
......
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