Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbSparky committed Mar 19, 2024
1 parent 7b5bc4b commit eb2acfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/GNNGraphs/GNNGraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export add_nodes,
to_unidirected,
random_walk_pe,
remove_nodes,
add_edges_augment,
# from Flux
batch,
unbatch,
Expand Down
2 changes: 1 addition & 1 deletion test/GNNGraphs/transform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ end

g = GNNGraph(s,t,eweights)

g_new = add_edges_randomly(g, weight_func=()->0.8)
g_new = add_edges_augment(g, weight_func=()->0.8)
@test g_new.num_edges == 6

w_new = get_edge_weight(g_new)
Expand Down

0 comments on commit eb2acfa

Please sign in to comment.