diff --git a/src/org/nwapw/abacus/plugin/StandardPlugin.java b/src/org/nwapw/abacus/plugin/StandardPlugin.java index 8ac8a07..01b988e 100755 --- a/src/org/nwapw/abacus/plugin/StandardPlugin.java +++ b/src/org/nwapw/abacus/plugin/StandardPlugin.java @@ -6,9 +6,6 @@ import org.nwapw.abacus.number.NaiveNumber; import org.nwapw.abacus.number.NumberInterface; -import javax.print.attribute.standard.MediaSize; -import java.util.ArrayList; -import java.util.HashMap; import java.util.function.BiFunction; /** @@ -231,7 +228,7 @@ protected boolean matchesParams(NumberInterface[] params) { @Override protected NumberInterface applyInternal(NumberInterface[] params) { - return StandardPlugin.this.getFunction("pow").apply(params[0], (new NaiveNumber(0.5))); + return StandardPlugin.this.getOperator("^").getFunction().apply(params[0], (new NaiveNumber(0.5))); } }); }