Skip to content

Commit c52b6ae

Browse files
committed
Changed context of activeFunctionRules
1 parent 748530e commit c52b6ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

preview.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
|>
4444
];
4545

46-
Begin["`Private`"];
47-
4846
activeFunctionRules = {
4947
sin -> Sin, cos -> Cos, tan -> Tan, sec -> Sec, Cosec -> Csc, csc -> Csc, cosec -> Csc, cot -> Cot,
5048
arcsin -> ArcSin, asin -> ArcSin, arccos -> ArcCos, acos -> ArcCos, arctan -> ArcTan, atan -> ArcTan,
@@ -57,6 +55,8 @@
5755
arccoth -> ArcCoth, acoth -> ArcCoth,
5856
exp -> Exp, log -> Log, ln -> Log};
5957

58+
Begin["`Private`"];
59+
6060
SafeToExpression[str_String] :=
6161
Module[{expr, result},
6262
(* First check for obviously dangerous patterns in the raw string *)

0 commit comments

Comments
 (0)