Skip to content

Commit 63d7fc7

Browse files
committed
change show*Structure behavior; change RR_* type
1 parent 607c428 commit 63d7fc7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

M2/Macaulay2/m2/debugging.m2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ show1(Sequence,Function) := show1(List,Function) := (types,pfun) -> (
139139
else install pfun v);
140140
-- if hasAttribute(v,PrintNet) then v = getAttribute(v,PrintNet) else
141141
-- if hasAttribute(v,PrintNames) then v = getAttribute(v,PrintNames) else
142-
if hasAttribute(v,ReverseDictionary) then v = getAttribute(v,ReverseDictionary);
142+
-- if hasAttribute(v,ReverseDictionary) then v = getAttribute(v,ReverseDictionary);
143143
if w#?v then w#v else w#v = new Descent
144144
);
145145
scan(types, install);

M2/Macaulay2/m2/reals.m2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ RingFamily_* := RRi -> RRi#(symbol _*)
4242
RingFamily_* = (RR,e) -> RR#(symbol _*) = e
4343
RingFamily_* = (RRi,e) -> RRi#(symbol _*) = e
4444
InexactNumber' = new Type of Nothing'
45-
RR_* = RR' = new Type of InexactNumber'
46-
RRi_* = RRi' = new Type of InexactNumber'
47-
CC_* = CC' = new Type of InexactNumber'
45+
RR_* = RR' = new InexactFieldFamily of InexactNumber'
46+
RRi_* = RRi' = new InexactFieldFamily of InexactNumber'
47+
CC_* = CC' = new InexactFieldFamily of InexactNumber'
4848

4949
RR'.texMath = ///{\mathbb R}_*///
5050
RRi'.texMath = ///{\square\mathbb R}_*///

0 commit comments

Comments
 (0)