-
Notifications
You must be signed in to change notification settings - Fork 31
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
Doubles only? #5
Comments
Hmmm, not really I guess. You want to be able to use floats as well? I'll work on that... |
I tried to pass floats and the results were incorrect. Did you try or did I make a mistake? |
I also get incorrect results when I pass floats, so I don't think it's your mistake. |
Hi Laurens van der Maaten, do you still have a plan to used Floats, or should we look into it? |
Hmmm changing the Torch code is easy, but this also requires changing the C++ code, which will imply a bit more work. I'm not sure I will have time for it anytime soon. If you want to do it yourself, then start from this version: #4 |
Ran into this issue as well and did some investigation to find the root cause, then came here to Github to file an issue and found this. I could take a stab at making this change, but I think an immediate and simple change would be to just check the tensor type and throw an informative error, right than having the code segfault. |
Agreed! |
Is there a reason why the algorithm only works on doubles?
The text was updated successfully, but these errors were encountered: