Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Add nodes field.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchallen committed Oct 29, 2021
1 parent 5088d36 commit 0ccf993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

group = "com.github.cs125-illinois"
version = "2021.10.0"
version = "2021.10.1"

plugins {
kotlin("jvm") version "1.5.31"
Expand Down
1 change: 1 addition & 0 deletions src/main/java/cs1/graphs/UnweightedGraph.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class UnweightedGraph<T> private constructor(
override fun hashCode() = Objects.hash(edges)

val node = edges.keys.minByOrNull { it.nonce }!!
val nodes = edges.keys

@Suppress("TooManyFunctions")
companion object {
Expand Down

0 comments on commit 0ccf993

Please sign in to comment.