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

reference to -1 Word should be `subtract 1` #108

Open
stites opened this Issue Aug 14, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@stites
Copy link
Collaborator

stites commented Aug 14, 2018

From #106: This should be cleaned up:

src/Torch/Indef/Static/Tensor/Math/Pairwise.hs:53:18: warning: [-Woverflowed-literals]
    Literal -1 is out of the GHC.Word.Word8 range 0..255
   |
53 | v -^ t = v +^ ((-1) *^ t)
   |                  ^

@stites stites changed the title reference to -1 Word should be `n - 1` reference to -1 Word should be `subtract 1` Aug 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment