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

numenta/nupic.core#1380: Fix SP tests with correct dtype values #3795

Merged
merged 3 commits into from
Jan 16, 2018

Conversation

lscheinkman
Copy link
Contributor

@lscheinkman lscheinkman commented Jan 12, 2018

As part of numenta/nupic.core-legacy#1380 fix, the swig interface now validates the numpy.array type making sure it matches the C++ implementation (nupic::UInt). It will now throw an exception when the compute method is called with the wrong data type.
This PR adds a new test checking if cpp SP swig interface is validating the input values and fixes other SP tests affected by this change.

This PR depends on numenta/nupic.core-legacy#1385 do not merge until numenta/nupic.core-legacy#1385 is merged

@lscheinkman lscheinkman requested a review from rhyolight January 16, 2018 21:14
@lscheinkman lscheinkman merged commit af7735f into numenta:master Jan 16, 2018
@lscheinkman lscheinkman deleted the 1380 branch January 20, 2018 18:32
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.

2 participants