Skip to content

Commit

Permalink
Was using wrong default for a,b,c,d...
Browse files Browse the repository at this point in the history
Maybe the default was different in an older version of Mathematica?
Fixes #1540
  • Loading branch information
rocky committed Aug 10, 2021
1 parent 0b92840 commit bcb9c80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mathics/autoload/rules/GudermannianRules.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
(* From symja_android_library/symja_android_library/rules/QuantileRules.m *)
Begin["System`"]
Gudermannian::usage = "gives the Gudermannian function";
Gudermannian[Undefined]=Undefined;
Gudermannian[0]=0;
Gudermannian[2*Pi*I]=0;
Expand Down
4 changes: 2 additions & 2 deletions mathics/builtin/moments/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ class Quantile(Builtin):
= 4
>> Quantile[Range[16], 1/4]
= 5
= 4
"""

rules = {
"Quantile[list_List, q_, abcd_]": "Quantile[list, {q}, abcd]",
"Quantile[list_List, q_]": "Quantile[list, q, {{0, 1}, {1, 0}}]",
"Quantile[list_List, q_]": "Quantile[list, q, {{0, 0}, {1, 0}}]",
}

messages = {
Expand Down

0 comments on commit bcb9c80

Please sign in to comment.