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] Tree Scorers: Change 'int64_t' to 'intp_t' for platform independence #1687

Merged
merged 1 commit into from
Oct 24, 2016

Conversation

ales-erjavec
Copy link
Contributor

Fix a "ValueError: Buffer dtype mismatch, expected int64_t but got int" error on 32-bit Python builds.

intp_t is is the natural type used by numpy for indexing (and is therefore the return type from argsort).

Fix a "ValueError: Buffer dtype mismatch, expected int64_t but got int"
error on 32 bit Python build.
@codecov-io
Copy link

codecov-io commented Oct 24, 2016

Current coverage is 88.66% (diff: 100%)

Merging #1687 into master will not change coverage

@@             master      #1687   diff @@
==========================================
  Files            82         82          
  Lines          8778       8778          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           7783       7783          
  Misses          995        995          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update ad14c5c...7e13a88

@janezd janezd merged commit 3360099 into biolab:master Oct 24, 2016
@astaric astaric modified the milestone: 3.3.9 Nov 28, 2016
@ales-erjavec ales-erjavec deleted the tree-scorers-index-type branch January 27, 2017 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants