Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
02e6d36a
Commit
02e6d36a
authored
Dec 16, 2017
by
rusty1s
Browse files
typo
parent
af673237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torch_scatter/src/THTensorDimApply4.h
torch_scatter/src/THTensorDimApply4.h
+2
-2
No files found.
torch_scatter/src/THTensorDimApply4.h
View file @
02e6d36a
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
int TH_TENSOR_DIM_APPLY_i; \
int TH_TENSOR_DIM_APPLY_i; \
\
\
if ((DIMENSION < 0) || (DIMENSION >= TENSOR1->nDimension)) \
if ((DIMENSION < 0) || (DIMENSION >= TENSOR1->nDimension)) \
THError("
i
nvalid dimension %d (expected to be 0 <= dim < %d)", DIMENSION, TENSOR1->nDimension); \
THError("
I
nvalid dimension %d (expected to be 0 <= dim < %d)", DIMENSION, TENSOR1->nDimension); \
\
\
int same_dims = 1; \
int same_dims = 1; \
if (TENSOR1->nDimension != TENSOR2->nDimension ) same_dims = 0; \
if (TENSOR1->nDimension != TENSOR2->nDimension ) same_dims = 0; \
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
THDescBuff T2buff = _THSizeDesc(TENSOR2->size, TENSOR2->nDimension); \
THDescBuff T2buff = _THSizeDesc(TENSOR2->size, TENSOR2->nDimension); \
THDescBuff T3buff = _THSizeDesc(TENSOR3->size, TENSOR3->nDimension); \
THDescBuff T3buff = _THSizeDesc(TENSOR3->size, TENSOR3->nDimension); \
THDescBuff T4buff = _THSizeDesc(TENSOR4->size, TENSOR3->nDimension); \
THDescBuff T4buff = _THSizeDesc(TENSOR4->size, TENSOR3->nDimension); \
THError("
i
nconsistent tensor size, expected %s %s, %s %s, %s %s and %s %s to have the same " \
THError("
I
nconsistent tensor size, expected %s %s, %s %s, %s %s and %s %s to have the same " \
"number of dimensions", #TENSOR1, T1buff.str, #TENSOR2, T2buff.str, #TENSOR3, T3buff.str, #TENSOR4, T4buff.str); \
"number of dimensions", #TENSOR1, T1buff.str, #TENSOR2, T2buff.str, #TENSOR3, T3buff.str, #TENSOR4, T4buff.str); \
} \
} \
\
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment