From 540e5d609975ae466494d30a2d9e41b8b89fed16 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 16 Sep 2017 00:16:32 -0700 Subject: [PATCH] Load default implementation if one is not found. --- core/src/main/kotlin/org/nwapw/abacus/Abacus.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/kotlin/org/nwapw/abacus/Abacus.kt b/core/src/main/kotlin/org/nwapw/abacus/Abacus.kt index 0363646..4b78256 100644 --- a/core/src/main/kotlin/org/nwapw/abacus/Abacus.kt +++ b/core/src/main/kotlin/org/nwapw/abacus/Abacus.kt @@ -68,6 +68,7 @@ class Abacus(val configuration: Configuration) { pluginManager.reload() with(mutableContext) { numberImplementation = pluginManager.numberImplementationFor(configuration.numberImplementation) + ?: StandardPlugin.IMPLEMENTATION_NAIVE clearVariables() clearDefinitions() }