Skip to content

Commit

Permalink
Make pairs return value consistent (list for lists *and* hashtables)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed Dec 20, 2024
1 parent f145ef4 commit 709e641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/d/actors2.dd
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export pairs(e:Expr):Expr := (
if o.Mutable then unlock(o.mutex);
l )
is o:Sequence do
Expr(new Sequence len length(o) do (
list(new Sequence len length(o) do (
i := 0;
while i < length(o) do (
provide Expr(Sequence(toExpr(i),o.i));
Expand Down

0 comments on commit 709e641

Please sign in to comment.