Skip to content

Commit

Permalink
Merge pull request xtensor-stack#2014 from neok-m4700/patch-1
Browse files Browse the repository at this point in the history
[DOC] xstrided_view typo
  • Loading branch information
wolfv authored Apr 3, 2020
2 parents e467087 + 2038c99 commit b597f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xtensor/xstrided_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ namespace xt
*
* \code{.cpp}
* xt::xarray<double> a = {{1, 2, 3}, {4, 5, 6}};
* xt::slice_vector sv({xt::range(0, 1)});
* xt::xstrided_slice_vector sv({xt::range(0, 1)});
* sv.push_back(xt::range(0, 3, 2));
* auto v = xt::strided_view(a, sv);
* // ==> {{1, 3}}
Expand Down

0 comments on commit b597f58

Please sign in to comment.