Skip to content

Commit 90908c6

Browse files
committed
fix set error message
1 parent b84502a commit 90908c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

M2/Macaulay2/d/sets.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ makeSet(e:Expr):Expr := (
3434
when e
3535
is v:Sequence do makeSet(v)
3636
is w:List do if ancestor(w.Class,visibleListClass) then makeSet(w.v)
37-
else WrongArg("a visible list")
37+
else WrongArg("a visible list or a hash table")
3838
is h:HashTable do makeSet(h)
39-
else WrongArg("a visible list"));
39+
else WrongArg("a visible list or a hash table"));
4040
setupfun("set",makeSet);
4141

4242
-- object is beingInitialized:

0 commit comments

Comments
 (0)