Skip to content

Commit 61e9c18

Browse files
sambsamb
authored andcommitted
Add appropriate directions for limits for definite integration.
1 parent dd19a12 commit 61e9c18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rubi/Rubi.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
Int::definite = "Rubi does not check whether the domain of integration is continuous.";
473473
Int[u_, {x_Symbol, a_, b_}] := With[{result = Int[u, x]},
474474
Message[Int::definite];
475-
Limit[result, x -> b] - Limit[result, x -> a]];
475+
Limit[result, x -> b, Direction -> 1] - Limit[result, x -> a, Direction -> -1]];
476476

477477
Int[{u__}, x_Symbol] := Map[Function[Int[#, x]], {u}];
478478

0 commit comments

Comments
 (0)