".github/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "6945201d5c19b2fbbc4c13214e7d85e997e1dfd1"
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 { ...@@ -273,19 +273,19 @@ class COO : public GraphInterface {
// TODO(da): add constructor for creating COO from shared memory // TODO(da): add constructor for creating COO from shared memory
void AddVertices(uint64_t num_vertices) override { 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 { 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 { 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 { void Clear() override {
LOG(FATAL) << "CSR graph does not allow mutation."; LOG(FATAL) << "COO graph does not allow mutation.";
} }
DLContext Context() const override { 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