Skip to content

Commit

Permalink
Update changes to have only one blank line
Browse files Browse the repository at this point in the history
Was asked to have only one blank line. I assume this meant to split variables from asserts.
  • Loading branch information
jmh530 authored Jul 26, 2016
1 parent f21cf84 commit 56eb71c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions std/experimental/ndslice/selection.d
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,9 @@ template pack(K...)

assert(b.shape == [3, 4]);
assert(b[0, 0].shape == [5, 6]);

assert(a == b);

alias R = typeof(r);
static assert(is(typeof(b) == typeof(a.pack!2)));
static assert(is(typeof(b) == Slice!(2, Slice!(3, R))));
static assert(is(typeof(b) == Slice!(2, Slice!(3, typeof(r)))));
}


Expand Down

0 comments on commit 56eb71c

Please sign in to comment.