Skip to content

Commit 3d880ec

Browse files
committed
fixed rule printing
1 parent 2062afc commit 3d880ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods/rule_based/string_manipulation_helpers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function pretty_print_rule(rule, identifier)
369369
identifier == "0_1_0" && return "∫( +(a...), x) => sum([ ∫(f, x) for f in a ])"
370370
identifier == "0_1_12" && return "∫ a*f(x) dx => a*∫ f(x) dx"
371371

372-
s = string(rule)
372+
s = string(rule.first) *" => "* string(rule.second)
373373
# manage conditions
374374
if_pos = findfirst("if", s)
375375
newline_pos = findfirst("\n", s)

0 commit comments

Comments
 (0)