Skip to content

Commit

Permalink
Fix method overwrite warnings (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Apr 4, 2024
1 parent e6adbd6 commit f99890d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/abstractnamedgraph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,7 @@ end

# Fix for ambiguity error with `AbstractGraph` version
function neighborhood_dists(
graph::AbstractNamedGraph,
vertex::Integer,
d,
distmx::AbstractMatrix{<:Real}=weights(graph);
dir=:out,
graph::AbstractNamedGraph, vertex::Integer, d, distmx::AbstractMatrix{<:Real}; dir=:out
)
return _neighborhood_dists(graph, vertex, d, distmx; dir)
end
Expand Down

0 comments on commit f99890d

Please sign in to comment.