Skip to content

Commit b744214

Browse files
committed
minor changes
1 parent 303a2d1 commit b744214

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/mir/functional.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ struct RefTuple(T...)
9999
{
100100
@fastmath:
101101
T expand;
102+
alias expand this;
102103
mixin _RefTupleMixin!T;
103104
}
104105

source/mir/ndslice/topology.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ unittest
14761476
{
14771477
import mir.ndslice.slice;
14781478
import mir.ndslice.dynamic;
1479-
assert(iota(3, 4, 5, 6, 7).pack!2.flattened()[1] == iota([6, 7], 6 * 7));
1479+
assert(iota(3, 4, 5, 6, 7).pack!2.flattened[1] == iota([6, 7], 6 * 7));
14801480
}
14811481

14821482
/// Properties

0 commit comments

Comments
 (0)