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

Wrong documentation for addition/subtraction matrix+scalar (maths.md) #99

Closed
adria-p opened this issue Nov 20, 2014 · 1 comment
Closed

Comments

@adria-p
Copy link

adria-p commented Nov 20, 2014

More concretely, I believe that the following is not correct:

The scalar might be on the right or left of the operator.

And then also the last example will fail:

> = 3-x

 1  1
 1  1
[torch.Tensor of dimension 2x2]
@soumith
Copy link
Member

soumith commented Nov 20, 2014

that sounds right, it should be -x + 3
let me correct that.

soumith added a commit that referenced this issue Nov 20, 2014
Thanks to @kosklain for pointing it out in #99
@soumith soumith closed this as completed Nov 20, 2014
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

No branches or pull requests

2 participants