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

Negative input current U not recorded correctly with snip probes #141

Closed
hunse opened this issue Nov 14, 2018 · 2 comments
Closed

Negative input current U not recorded correctly with snip probes #141

hunse opened this issue Nov 14, 2018 · 2 comments

Comments

@hunse
Copy link
Collaborator

@hunse hunse commented Nov 14, 2018

Just ran into this briefly, and haven't examined it in detail or tried to reproduce it in a minimal example.

When I was probing the input current for some neurons nengo.Probe(ens.neurons, 'input') with precompute=False, rather than getting negative numbers where it looked like I should, I got very large positive numbers (like 4294951040). I think these are negative numbers that are somehow being interpreted as uints instead of ints or something like that. Things work as expected if use use NxSDK probes (with precompute=True), so that can be a point of comparison.

@hunse
Copy link
Collaborator Author

@hunse hunse commented Nov 14, 2018

I have no reason to believe this doesn't occur with V as well, but by default we don't have negative voltages, so we don't notice it.

@hunse
Copy link
Collaborator Author

@hunse hunse commented Feb 22, 2019

Fixed in a0bfc03 and tested in df77cf8 (#169).

@hunse hunse closed this Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant