Commit 6e3f759c authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix typo

parent 3a281c59
......@@ -127,7 +127,7 @@ object BamStats extends ToolCommand {
def aggregateStats(table: Map[String, Array[Long]]): Map[String, Any] = {
val values = table("value")
val counts = table("count")
require(values.size == counts)
require(values.size == counts.size)
if (values.nonEmpty) {
val modal = values(counts.indexOf(counts.max))
val totalCounts = counts.sum
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment