Skip to content

Commit 8b17496

Browse files
committed
removed System.out calls
1 parent fb7fe52 commit 8b17496

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/main/java/com/github/gbenroscience/math/differentialcalculus/Derivative.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public static MathExpression.EvalResult eval(String expr) {
220220
}//end for loop
221221
expr = expr.substring(5, expr.length() - 1);
222222
MathExpression me = new MathExpression(baseVariable + "=" + evalPoint + ";" + expr);
223-
System.out.println(baseVariable + "=" + evalPoint + ";" + expr);
223+
//System.out.println(baseVariable + "=" + evalPoint + ";" + expr);
224224
me.updateArgs(evalPoint);
225225
return me.solveGeneric();
226226
} else {

src/main/java/com/github/gbenroscience/math/numericalmethods/NumericalIntegrator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ public double integrate(Function f) throws TimeoutException {
301301
// If the function is a simple polynomial or smooth curve,
302302
// bypass the expensive pole-scanning and mapping.
303303
if (strategy == GAUSSIAN_STRATEGY) {
304-
System.out.println("USING GAUSSIAN");
304+
// System.out.println("USING GAUSSIAN");
305305
return new NumericalIntegral(f, a, b, 21, gaussianHandle, vars, slots).findHighRangeIntegralTurbo();
306306
}
307307

308-
System.out.println("USING NUMERICAL_INTEGRATOR");
308+
//System.out.println("USING NUMERICAL_INTEGRATOR");
309309

310310
this.startTime = System.currentTimeMillis();
311311
long currentTimeout = (Math.abs(b - a) > 100) ? TIMEOUT_LARGE_MS : timeoutMs;

src/main/java/com/github/gbenroscience/parser/MathExpression.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,11 @@ public FastCompositeExpression compileTurbo() throws Throwable {
536536

537537
TurboExpressionEvaluator compiler;
538538
if (!hasMatrixOps) {
539-
System.out.println("SELECTED ScalarTurboCompiler");
539+
// System.out.println("SELECTED ScalarTurboCompiler");
540540
// Pure scalar expressions: use ultra-fast scalar compiler (~5ns)
541541
compiler = new ScalarTurboEvaluator(cachedPostfix);
542542
} else {
543-
System.out.println("SELECTED FlatMatrixTurboCompiler");
543+
// System.out.println("SELECTED FlatMatrixTurboCompiler");
544544
// Any matrix operations: use flat-array optimized compiler (~50-1000ns)
545545
compiler = new MatrixTurboEvaluator(cachedPostfix);
546546
}

src/main/java/com/github/gbenroscience/parser/methods/MethodRegistry.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import com.github.gbenroscience.util.Utils;
3232
import com.github.gbenroscience.util.io.TextFileWriter;
3333
import java.io.File;
34-
import java.util.ArrayList;
3534
import java.util.HashMap;
3635
import java.util.Map;
3736
import java.util.Arrays;

0 commit comments

Comments
 (0)