new plotter

This commit is contained in:
Sergey Solovyev
2012-12-31 00:37:14 +04:00
parent 3dab118a1b
commit 5f7ee1e64e
35 changed files with 3447 additions and 460 deletions

View File

@@ -45,7 +45,8 @@ public final class CalculatorUtils {
boolean result = false;
if (operation == JsclOperation.simplify) {
if (getNotSystemConstants(expression).size() == 1) {
int size = getNotSystemConstants(expression).size();
if (size == 1 || size == 2) {
result = true;
}
}