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] Corpus: X and Y arrays must always be float! #330

Merged
merged 1 commit into from
Jan 1, 2018
Merged

[FIX] Corpus: X and Y arrays must always be float! #330

merged 1 commit into from
Jan 1, 2018

Conversation

jerneju
Copy link
Contributor

@jerneju jerneju commented Dec 13, 2017

Issue

Sometimes a corpus is created which has integer types numpy arrays.

See here:

Description of changes

Make sure that a new created array is type float64.
screenshot_20171213_121642

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-io
Copy link

codecov-io commented Dec 13, 2017

Codecov Report

Merging #330 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #330   +/-   ##
=======================================
  Coverage   84.92%   84.92%           
=======================================
  Files          33       33           
  Lines        1864     1864           
  Branches      336      336           
=======================================
  Hits         1583     1583           
  Misses        242      242           
  Partials       39       39

@nikicc
Copy link
Contributor

nikicc commented Dec 17, 2017

@jerneju where do ints cause problems? Also, do you think we should solve this in the __init__?

@jerneju
Copy link
Contributor Author

jerneju commented Dec 18, 2017

@nikicc : Connect Twitter and Scatter Plot.

@jerneju
Copy link
Contributor Author

jerneju commented Dec 22, 2017

@nikicc nikicc merged commit 2c3089f into biolab:master Jan 1, 2018
@jerneju jerneju deleted the corpus-X-Y-always-float branch January 3, 2018 06:31
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.

3 participants