boostorg / boostorg/ublas

Exception Raised for Static Rank Tensor inside the Tensor Times Tensor Product

Open
#121 0 comments 0 reactions 2 assignees Claimed by @amitsingh19975 View on GitHub
bug
Dominant language
C++
Stars
122
Forks
151
PR merge metrics
No merged PRs in 30d

Description

This exception is raised because the static rank extents for result type are not filled with one but instead default initialized to zero, making the extents invalid.

```cpp
auto A = tensor_static_rank(4,3);
auto B = tensor_static_rank(3,4,2);
auto AB = A(_d,_f) * B(_f,_d,_); // Throws the exception
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.