Skip to content

Commit 1592e98

Browse files
angelacorteDanySK
authored andcommitted
style: remove useless parentheses
1 parent f1ddf72 commit 1592e98

File tree

1 file changed

+1
-1
lines changed
  • alchemist-implementationbase/src/main/kotlin/it/unibo/alchemist/model/terminators

1 file changed

+1
-1
lines changed

alchemist-implementationbase/src/main/kotlin/it/unibo/alchemist/model/terminators/StableMetrics.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class StableMetrics<T>(
4949
private val stepTracker by lazy { StepMetricTracker() }
5050
private val timeTracker by lazy { TimeMetricTracker() }
5151
init {
52-
require(stableForTotalTime > ZERO || (stableForTotalSteps > 0)) {
52+
require(stableForTotalTime > ZERO || stableForTotalSteps > 0) {
5353
"At least one of the stability conditions (stableForTime or stableForSteps) must be greater than zero."
5454
}
5555
require(checkTimeInterval <= stableForTotalTime) {

0 commit comments

Comments
 (0)