Skip to content

Commit 5cca945

Browse files
sbeitzelCopilot
andauthored
Update Sources/SwiftGraph/Graph.swift
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 87b641d commit 5cca945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftGraph/Graph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ extension Graph {
366366
/// - parameter visited: a set of vertex indices which will be considered to have been visited already
367367
/// - parameter reachability: a dictionary mapping vertex indices to a Boolean indicating whether a path exists (`true`) or does not exist (`false`) from that vertex to the destination
368368
/// - returns: the number of paths that exist going from the start to the destinatin
369-
func countPaths(fromIndex startIndex: Int,
369+
public func countPaths(fromIndex startIndex: Int,
370370
toIndex endIndex: Int,
371371
visited: inout Set<Int>,
372372
reachability: [Int: Bool]) -> Int {

0 commit comments

Comments
 (0)