Skip to content

Commit 16c65cf

Browse files
committed
More correct Mathics code for CuebRoot
My WL skills are not that good.
1 parent d348304 commit 16c65cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mathics/autoload/forms/StandardForm.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
(* Change RadBox to RadicalBox. We use RadBox to make it clear that
1111
the below code was a read-in from a file and not some pre-existing
1212
code. *)
13-
RadicalBox[expr_, form_] = RadBox[MakeBoxes[expr, form], 3];
13+
CommonRadicalBox[expr_, form_] = RadBox[MakeBoxes[expr, form], 3];
1414

1515
(******************************************************************************************)
1616
(* StandardForm Boxing Rules *)
1717
(******************************************************************************************)
1818

19-
MakeBoxes[CubeRoot[expr_], StandardForm] := RadicalBox[expr_, form_];
19+
MakeBoxes[CubeRoot[expr_], StandardForm] := CommonRadicalBox[expr, form];
2020
(*All the other StandardForm boxing routines... *)
2121
End[]

0 commit comments

Comments
 (0)