Skip to content

Commit

Permalink
Fix docs build error
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Feb 22, 2023
1 parent 6898797 commit a6318d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/Manifest.toml
docs/build/
.vscode/settings.json
docs/src/tutorial
docs/src/tutorial/*.md
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Documenter
using Graphs
using Literate
using MetaGraphsNext

Expand Down
Empty file added docs/src/tutorial/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions src/weights.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function MetaWeights(meta_graph::MetaGraph)
end

"""
weigths(meta_graph)
weights(meta_graph)
Return a matrix-like `MetaWeights` object containing the edge weights for meta_graph `meta_graph`.
Return a matrix-like `MetaWeights` object containing the edge weights for metagraph `meta_graph`.
"""
Graphs.weights(meta_graph::MetaGraph) = MetaWeights(meta_graph)

Expand Down

0 comments on commit a6318d6

Please sign in to comment.