Unverified Commit 92f87f48 authored by Zhuobin Huang's avatar Zhuobin Huang Committed by GitHub
Browse files

[Bugfix] Fixed fatal log output in COO class (#4286)


Co-authored-by: default avatarXin Yao <xiny@nvidia.com>
parent 069068aa
......@@ -273,19 +273,19 @@ class COO : public GraphInterface {
// TODO(da): add constructor for creating COO from shared memory
void AddVertices(uint64_t num_vertices) override {
LOG(FATAL) << "CSR graph does not allow mutation.";
LOG(FATAL) << "COO graph does not allow mutation.";
}
void AddEdge(dgl_id_t src, dgl_id_t dst) override {
LOG(FATAL) << "CSR graph does not allow mutation.";
LOG(FATAL) << "COO graph does not allow mutation.";
}
void AddEdges(IdArray src_ids, IdArray dst_ids) override {
LOG(FATAL) << "CSR graph does not allow mutation.";
LOG(FATAL) << "COO graph does not allow mutation.";
}
void Clear() override {
LOG(FATAL) << "CSR graph does not allow mutation.";
LOG(FATAL) << "COO graph does not allow mutation.";
}
DLContext Context() const override {
......
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