| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Merging this PR will not alter performance⚠️ 1 benchmark measured no execution time
✅ 255 untouched benchmarks Comparing Tyagiquamar:fix/squeeze-sliced-view-offset (8d84b6a) with master (d9a57b6) |
Sorry, something went wrong.
|
Thanks for the fix! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Squeezing a sliced view now retains its data offset instead of reading from the start of the underlying tensor. Both squeeze overloads reuse the existing offset helper; expressions without a data interface keep their zero-offset fallback.
Fixes #2834.
Validation in Docker (Ubuntu 24.04, clang 18.1.3, C++20): the added regression failed before the fix with {1,2} instead of {2,3}. After the fix, the focused squeeze tests passed in both row-major and column-major configurations (2 test cases, 12 assertions each). The modified header and test passed clang-format-18 --dry-run --Werror.