We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9edcd40 commit 3a126a6Copy full SHA for 3a126a6
1 file changed
src/main/org/nlogo/extensions/nw/GraphContext.scala
@@ -7,7 +7,7 @@ import org.nlogo.api.ExtensionException
7
import org.nlogo.extensions.nw.NetworkExtensionUtil.AgentSetToRichAgentSet
8
import org.nlogo.extensions.nw.algorithms.{BreadthFirstSearch, PathFinder}
9
10
-import scala.collection.immutable.SortedSet
+import scala.collection.immutable.{ SortedSet, SortedMap }
11
import scala.collection.mutable
12
import scala.collection.mutable.ArrayBuffer
13
@@ -141,7 +141,7 @@ with algorithms.CentralityMeasurer {
141
.foreach(found => foundBy(found) = t)
142
t
143
})
144
- }.values
+ }.to(SortedMap).values
145
}
146
147
def monitoredTreeAgentSets =
0 commit comments