Add out of range exception to the static tensor
Open
enhancement
- Dominant language
- C++
- Stars
- 122
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
The static tensor does not check for out of range error, which makes the read and writes of invalid memory or segmentation fault easier.
```cpp
auto t = tensor_static>{4.f};
t.at(1,2,3) = 10.f; // no exception triggered.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.