Skip to content

Commit bc64775

Browse files
committed
fixes
1 parent 0709544 commit bc64775

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/methods/rule_based/frontend.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ if not, (original problem, false)
99
function apply_rule(problem)
1010
result = nothing
1111
for (i, rule) in enumerate(RULES)
12-
result = rule(problem)
13-
# result = rule2(rule, problem)
12+
result = rule2(rule, problem)
1413
if result !== nothing
1514
if result===problem
1615
VERBOSE && println("Infinite cycle created by rule $(IDENTIFIERS[i]) applied on ", problem)

src/methods/rule_based/general.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ coshintegral(x::Any) = println("hyperbolic cosine integral Chi(z) function (http
6464
@syms (var1,var2) substitute_after_int(var1, var2, var3)
6565

6666
# very big arrays containing rules and their identifiers
67-
const RULES = SymbolicUtils.Rule[]
68-
# const RULES = Pair{Expr, Expr}[]
67+
const RULES = Pair{Expr, Expr}[]
6968
const IDENTIFIERS = String[]
7069

7170
# to use or not the gamma function in integration results
@@ -78,7 +77,7 @@ VERBOSE = false
7877
const SILENCE = String[]
7978

8079
all_rules_paths = [
81-
"9 Miscellaneous/0.1 Integrand simplification rules.jl"
80+
# "9 Miscellaneous/0.1 Integrand simplification rules.jl"
8281

8382
"1 Algebraic functions/1.1 Binomial products/1.1.1 Linear/1.1.1.1 (a+b x)^m.jl"
8483
# "1 Algebraic functions/1.1 Binomial products/1.1.1 Linear/1.1.1.2 (a+b x)^m (c+d x)^n.jl"

0 commit comments

Comments
 (0)