Skip to content
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 Partition() w/ size greater than the length of the input #529

Commits on Nov 25, 2022

  1. Fix Partition() w/ size greater than the length of the input

    `complete()` only worked correctly if at least a single full partition
    has been produced already, otherwise the `buf` would be smaller
    than the `xform(rf).size`, and we get buffer overflow, etc.
    
    I've added sufficient test coverage for the issue, that now passes.
    
    I have stumbled into this while trying to write a reduction tree,
    not sure if this is something that might be interesting here?
    
    Fixes JuliaFolds#528
    LebedevRI committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    2bf2e55 View commit details
    Browse the repository at this point in the history