Skip to content

Commit

Permalink
Merge pull request #4212 from 9il/docsd
Browse files Browse the repository at this point in the history
fix docs for `diagonal`
  • Loading branch information
Hackerpilot committed Apr 18, 2016
2 parents 4f18045 + 90783db commit e62921e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/experimental/ndslice/selection.d
Expand Up @@ -272,7 +272,7 @@ Params:
N = dimension count
slice = input slice
Returns:
packed `1`-dimensional composed of `N`-dimensional slices
1-dimensional slice composed of diagonal elements
+/
Slice!(1, Range) diagonal(size_t N, Range)(auto ref Slice!(N, Range) slice)
{
Expand Down

0 comments on commit e62921e

Please sign in to comment.