diff --git a/core/src/main/kotlin/org/nwapw/abacus/plugin/standard/operator/OperatorNegate.kt b/core/src/main/kotlin/org/nwapw/abacus/plugin/standard/operator/OperatorNegate.kt index cc50e31..8f2ea07 100644 --- a/core/src/main/kotlin/org/nwapw/abacus/plugin/standard/operator/OperatorNegate.kt +++ b/core/src/main/kotlin/org/nwapw/abacus/plugin/standard/operator/OperatorNegate.kt @@ -11,7 +11,7 @@ import org.nwapw.abacus.number.NumberInterface * * This is a standard operator that negates a number. */ -class OperatorNegate: NumberOperator(OperatorAssociativity.LEFT, OperatorType.UNARY_PREFIX, 0) { +class OperatorNegate: NumberOperator(OperatorAssociativity.LEFT, OperatorType.UNARY_PREFIX, 1) { override fun matchesParams(context: PluginEvaluationContext, params: Array) = params.size == 1