From aa79cb656a7e72c6fbfb8218388f3a76f45ceb03 Mon Sep 17 00:00:00 2001 From: Sahand Kashani-Akhavan Date: Tue, 10 Mar 2020 22:53:48 +0100 Subject: Fix copy-paste error in DiGraph.linearize documentation (#1324) Co-authored-by: Albert Magyar --- src/main/scala/firrtl/graph/DiGraph.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/firrtl/graph/DiGraph.scala b/src/main/scala/firrtl/graph/DiGraph.scala index d3015b5a..e3b5fbe9 100644 --- a/src/main/scala/firrtl/graph/DiGraph.scala +++ b/src/main/scala/firrtl/graph/DiGraph.scala @@ -91,7 +91,7 @@ class DiGraph[T] private[graph] (private[graph] val edges: LinkedHashMap[T, Link /** Linearizes (topologically sorts) a DAG * * @throws CyclicException if the graph is cyclic - * @return a Map[T,T] from each visited node to its predecessor in the + * @return a Seq[T] describing the topological order of the DAG * traversal */ def linearize: Seq[T] = { -- cgit v1.2.3