aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahand Kashani-Akhavan2020-03-10 22:53:48 +0100
committerGitHub2020-03-10 21:53:48 +0000
commitaa79cb656a7e72c6fbfb8218388f3a76f45ceb03 (patch)
treef01cc9e2d665dda936453d183899dd363791931d
parent113a4aa3641c49b4c86e0cc23b3897b935c9b445 (diff)
Fix copy-paste error in DiGraph.linearize documentation (#1324)
Co-authored-by: Albert Magyar <albert.magyar@gmail.com>
-rw-r--r--src/main/scala/firrtl/graph/DiGraph.scala2
1 files changed, 1 insertions, 1 deletions
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] = {