Skip to content

Commit

Permalink
document some items, part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGrayson committed Apr 14, 2022
1 parent 10228d9 commit 03f4a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/m2/basictests/D01.m2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ assert = x -> if not x then error "assertion failed "
-- an error here would mean a symbol got stored in the wrong bucket
scan(dictionaryPath, d -> scan(pairs d, (nam,sym) -> assert ( d#nam === sym ) ) )
-- try to defeat any caching of hash code
scan(dictionaryPath, d -> scan(pairs d, (nam,sym) -> assert ( d#(concatenate toList nam) === sym ) ) )
scan(dictionaryPath, d -> scan(pairs d, (nam,sym) -> assert ( d#(concatenate toList1 nam) === sym ) ) )

-- Local Variables:
-- compile-command: "make -C $M2BUILDDIR/Macaulay2/basictests D01.okay"
Expand Down

0 comments on commit 03f4a87

Please sign in to comment.