-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix segfaulting issue with reduce iterator #382
base: master
Are you sure you want to change the base?
Fix segfaulting issue with reduce iterator #382
Conversation
This condition only actualyl needs to be that the last non-zero-strided axis is also the smallest non-zero-strided axis, but this was simpler to write. |
4e0d60b
to
3ab9eb8
Compare
Hello I rebased this to try to merge it but the test segfaults in the CI... |
Removing the change to iterators.h, the tests still cause a segfault - ie current state on master is broken. The change of reverting the previous release means its quite a lot of effort to work out what the correct fix would now be. |
EG you've reverted a load of bugfixes such as a8dbfdc, and removed the tests that got added for them... Why? Can you readd all of these please? |
Hello, the reason is explained here #388 (comment) . We needed to release some fixes and the state of the main branch was inconsistent. The previous state is in stored in |
Edit is much smaller than diff suggests - mostly just whitespace due to an extra layer of indentation.
The test added generates the segfault described in #381 without the rest of the change, and then the other change fixes this.