Skip to content

Commit

Permalink
More correct Mathics code for CuebRoot
Browse files Browse the repository at this point in the history
My WL skills are not that good.
  • Loading branch information
rocky committed Nov 2, 2022
1 parent d348304 commit 16c65cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mathics/autoload/forms/StandardForm.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
(* Change RadBox to RadicalBox. We use RadBox to make it clear that
the below code was a read-in from a file and not some pre-existing
code. *)
RadicalBox[expr_, form_] = RadBox[MakeBoxes[expr, form], 3];
CommonRadicalBox[expr_, form_] = RadBox[MakeBoxes[expr, form], 3];

(******************************************************************************************)
(* StandardForm Boxing Rules *)
(******************************************************************************************)

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

0 comments on commit 16c65cf

Please sign in to comment.