Skip to content

Commit

Permalink
fix io
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed May 22, 2022
1 parent 939dbfc commit c154465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GNNGraphs/gnngraph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function Base.show(io::IO, ::MIME"text/plain", g::GNNGraph)
print(io, "GNNGraph:
num_nodes = $(g.num_nodes)
num_edges = $(g.num_edges)")
g.num_graphs > 1 && print("\n num_graphs = $(g.num_graphs)")
g.num_graphs > 1 && print(io, "\n num_graphs = $(g.num_graphs)")
if !isempty(g.ndata)
print(io, "\n ndata:")
for k in keys(g.ndata)
Expand Down

0 comments on commit c154465

Please sign in to comment.