Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with slice view of a transposed tensor #36

Closed
taless474 opened this issue Aug 14, 2019 · 0 comments · Fixed by #38
Closed

Issue with slice view of a transposed tensor #36

taless474 opened this issue Aug 14, 2019 · 0 comments · Fixed by #38
Labels
bug Something isn't working

Comments

@taless474
Copy link
Contributor

The following code does not generate the desired output:

  blaze::DynamicTensor<int> t{{{1, 2, 3}, {4, 5, 6}},
                              {{7, 8, 9}, {10, 11, 12}}};
  auto b = blaze::trans(t);
  std::cout << blaze::pageslice(b, 0);

If instead of auto we use blaze::DynamicTensor<int> the code would generate the correct results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants