Skip to content

Commit c49d61f

Browse files
committed
Finalize release
1 parent c139280 commit c49d61f

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ way from within Mathematica
4141
BuildIntegrationRules[]
4242
```
4343

44-
This will extract all rules from the notebooks, zip appropriate sections together in one `.m` file and place it to the
44+
This will extract all rules from the notebooks into `.m` files and place them into the
4545
correct location under `Rubi/IntegrationRules`. The created package files are loaded from within `Rubi.m` with the
46-
`LoadRules[]` functions. Again, the order in which the rules are loaded in `Rubi.m` is vitally important to get a
46+
`LoadRules[]` functions. Again, the order in which the rules are loaded in `Rubi.m` is **vitally important** to get a
4747
working Rubi package.
4848

4949
### How showing integration steps works

Rubi/Rubi.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
(* ::Title:: *)
44
(*Rubi (Rule-Based Integrator) Package*)
55

6-
76
BeginPackage["Rubi`"];
87

98
Int::usage = "Int[expn, var] returns the antiderivative (indefinite integral) of <expn> with respect to <var>.\n" <>
@@ -61,7 +60,6 @@
6160

6261

6362
$ruleDir = FileNameJoin[{DirectoryName[System`Private`$InputFileName], "IntegrationRules"}];
64-
$rulePackages = FileNames["*.m", {FileNameJoin[{DirectoryName[System`Private`$InputFileName], "IntegrationRules"}]}];
6563
$utilityPackage = FileNameJoin[{DirectoryName[System`Private`$InputFileName], "IntegrationUtilityFunctions.m"}];
6664
$stepRoutines = FileNameJoin[{DirectoryName[System`Private`$InputFileName], "ShowStepRoutines.m"}];
6765
$ruleFormatting = FileNameJoin[{DirectoryName[System`Private`$InputFileName], "ShowStepFormatting.m"}];
@@ -80,7 +78,7 @@
8078

8179
Unprotect[Int]; Clear[Int]; Clear[Unintegrable]; Clear[CannotIntegrate];
8280

83-
81+
(* The order of loading the rule-files below is crucial to ensure a functional Rubi integrator! *)
8482
LoadRules[$utilityPackage];
8583
LoadRules["9 Miscellaneous/9.1 Integrand simplification rules"];
8684

@@ -282,9 +280,6 @@
282280
];
283281
LoadRules["9 Miscellaneous/9.4 Miscellaneous integration rules"];
284282

285-
286-
$RuleCount = Length[DownValues[Int]];
287-
288283
(* Calculate the rule-count directly after all integration rules, because below there are some more rules
289284
added that are not integration rules*)
290285
$RuleCount = Length[DownValues[Int]];

0 commit comments

Comments
 (0)