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

MatOfDouble.FromArray assigns first element to the whole Mat #288

Closed
hutterm opened this issue Jan 20, 2017 · 1 comment
Closed

MatOfDouble.FromArray assigns first element to the whole Mat #288

hutterm opened this issue Jan 20, 2017 · 1 comment
Labels
bug Something isn't working

Comments

@hutterm
Copy link

hutterm commented Jan 20, 2017

var m = MatOfDouble.FromArray(0,1);
results in:
m.Get<double>(0) == m.Get<double>(1) == 0

my guess: core_Mat_nSetD is broken

@shimat shimat assigned shimat and unassigned shimat Jan 22, 2017
@shimat shimat added the bug Something isn't working label Jan 22, 2017
@shimat
Copy link
Owner

shimat commented Jan 22, 2017

Thanks 👍 It's fixed in the next release. e0b77da

as you say, MatOfDouble.FromArray does not work correctly but other MatXX.FromArray methods work fine 😕

@shimat shimat closed this as completed Jan 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants