Closed mzuzek closed 1 year ago
Based on https://github.com/Pressio/pressio/pull/513#discussion_r1050558365 from @fnrizzi:
it should not return 0 if i!=0 , because a vector has 1 column. return (i == 0) ? objectIn.length() : 1; this PR makes presssio::ops::extent() consistently return 1 for over-the-rank extents and adds related unit tests for each TPL implementation.
it should not return 0 if i!=0 , because a vector has 1 column.
return (i == 0) ? objectIn.length() : 1;
this PR makes presssio::ops::extent() consistently return 1 for over-the-rank extents and adds related unit tests for each TPL implementation.
presssio::ops::extent()
this is failing the CI ?
Yes... investigating what can be the cause.
Based on https://github.com/Pressio/pressio/pull/513#discussion_r1050558365 from @fnrizzi: