boostorg / boostorg/ublas

Wrong `to_strides_v` computation

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
122
Forks
151
PR merge metrics
No merged PRs in 30d

Description

The strides giving wrong strides for static extents, which is not consistent with the other extents types.

```cpp
namespace ublas = boost::numeric::ublas;
using e_t = ublas::extents<2,2>;
auto s = to_strides_v; // [1,2], but the right strides should be [1,1]
```

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.