Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
92f87f48
Unverified
Commit
92f87f48
authored
Jul 27, 2022
by
Zhuobin Huang
Committed by
GitHub
Jul 27, 2022
Browse files
[Bugfix] Fixed fatal log output in COO class (#4286)
Co-authored-by:
Xin Yao
<
xiny@nvidia.com
>
parent
069068aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/dgl/immutable_graph.h
include/dgl/immutable_graph.h
+4
-4
No files found.
include/dgl/immutable_graph.h
View file @
92f87f48
...
...
@@ -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
)
<<
"C
SR
graph does not allow mutation."
;
LOG
(
FATAL
)
<<
"C
OO
graph does not allow mutation."
;
}
void
AddEdge
(
dgl_id_t
src
,
dgl_id_t
dst
)
override
{
LOG
(
FATAL
)
<<
"C
SR
graph does not allow mutation."
;
LOG
(
FATAL
)
<<
"C
OO
graph does not allow mutation."
;
}
void
AddEdges
(
IdArray
src_ids
,
IdArray
dst_ids
)
override
{
LOG
(
FATAL
)
<<
"C
SR
graph does not allow mutation."
;
LOG
(
FATAL
)
<<
"C
OO
graph does not allow mutation."
;
}
void
Clear
()
override
{
LOG
(
FATAL
)
<<
"C
SR
graph does not allow mutation."
;
LOG
(
FATAL
)
<<
"C
OO
graph does not allow mutation."
;
}
DLContext
Context
()
const
override
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment