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

Revise bincount checks #393

Merged
merged 2 commits into from
Jul 2, 2018
Merged

Commits on Jun 27, 2018

  1. ENH: Check if Matrix arrays are allocated correctly

    If size is too big or the computer is unable to allocate memory for the output texture matrices, the function (PyArray_SimpleNew) returns NULL. Check for this and throw a python runtime error if that is the case.
    
    Replace the large number with `INT_MAX` in the size check for increased readability.
    JoostJM committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    d3df83f View commit details
    Browse the repository at this point in the history
  2. DOCS: Add detailed explanation on C-extension errors

    Add an explanation of the various errors thrown by the C extensions when calculating texture features in the C extensions to the FAQ section of the documentation. Also add some pointers to potential solutions where appropriate.
    JoostJM committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    5648984 View commit details
    Browse the repository at this point in the history