Skip to content

Commit

Permalink
Fix copy-paste error in DiGraph.linearize documentation (#1324)
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Magyar <[email protected]>
  • Loading branch information
sahandKashani and albert-magyar authored Mar 10, 2020
1 parent 113a4aa commit aa79cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/firrtl/graph/DiGraph.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit aa79cb6

Please sign in to comment.