dsharlet / array

C++ multidimensional arrays in the spirit of the STL
Apache License 2.0
198 stars 15 forks source link

Automatic strides are broken if one of the strides is UNK #9

Open dsharlet opened 4 years ago

dsharlet commented 4 years ago

Unknown strides are reassigned in resolve_unknowns: https://github.com/dsharlet/array/blob/fba09f8051b4334c510c843d9befa8e4b5167941/array.h#L347-L348 which is incorrect if a stride is actually the value represented by UNK.