Skip to content

Commit

Permalink
Fix calculation of min segment count to align analyzed segments with …
Browse files Browse the repository at this point in the history
…previous experiments
  • Loading branch information
tillschallau committed Nov 15, 2023
1 parent 2807626 commit ba7056f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ fun sliceRunIntoSegments(
simulationRun
.filter { it.currentTick in blockRange.first..blockRange.second }
.map { it.clone() }
if (mainSegment.size > minSegmentTickCount) {
if (mainSegment.size >= minSegmentTickCount) {
segments +=
Segment(mainSegment, simulationRunId = simulationRunId, segmentSource = simulationRunId)
}
Expand Down

0 comments on commit ba7056f

Please sign in to comment.