Unverified Commit 33b8700b authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

[Bugfix][Hetero] Fix typo (#891)

Don't know why it passed the merging test...
parent 0ca52bfc
...@@ -320,7 +320,7 @@ def heterograph(data_dict, num_nodes_dict=None): ...@@ -320,7 +320,7 @@ def heterograph(data_dict, num_nodes_dict=None):
ndst = data.number_of_nodes() - nsrc ndst = data.number_of_nodes() - nsrc
elif isinstance(data, DGLHeteroGraph): elif isinstance(data, DGLHeteroGraph):
# Do nothing; handled in the next loop # Do nothing; handled in the next loop
pass continue
else: else:
raise DGLError('Unsupported graph data type %s for %s' % ( raise DGLError('Unsupported graph data type %s for %s' % (
type(data), (srctype, etype, dsttype))) type(data), (srctype, etype, dsttype)))
......
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