mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-21 23:10:09 -08:00
Remove unused elvis.
This commit is contained in:
parent
fbdf2c7e52
commit
76fcd8ec1c
|
@ -18,7 +18,6 @@ class NumberReducer(val abacus: Abacus, context: EvaluationContext) : Reducer<Nu
|
|||
return when(treeNode){
|
||||
is NumberNode -> {
|
||||
context.inheritedNumberImplementation.instanceForString(treeNode.number)
|
||||
?: throw EvaluationException("no number implementation selected.")
|
||||
}
|
||||
is VariableNode -> {
|
||||
val variable = context.getVariable(treeNode.variable)
|
||||
|
|
Loading…
Reference in New Issue
Block a user