Skip to content

Commit

Permalink
Fix for condition within With
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindh-krishnamoorthy committed Nov 24, 2024
1 parent d439583 commit 3413208
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rubi.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@
(* Define a working definition for Refine *)
Refine[x_] := Simplify[x];

(* Fix conditions within With -- needs a full fix within the pattern library *)
Unprotect[With];
With[vars_, Verbatim[Condition][expr_, wcond_]] := Condition[With[vars, expr], With[vars, wcond]];
Protect[With];

(* ::Section:: *)
(* Define Unintegrable and CannotIntegrate*)

Expand Down

0 comments on commit 3413208

Please sign in to comment.