diff options
author | Hugh Perkins <hughperkins@gmail.com> | 2016-04-14 12:19:08 +0300 |
---|---|---|
committer | Hugh Perkins <hughperkins@gmail.com> | 2016-04-14 12:19:08 +0300 |
commit | a1290ded6f92526087852c989dbf56be87c16d88 (patch) | |
tree | 15bf7af0ef4c4c9ab2610dd3f4135b734f5e6858 /lib/THC/THCReduceApplyUtils.cuh | |
parent | a7d7ec6bbe62fc08e3d5434166f0da7257913af9 (diff) |
remove build warnings
Diffstat (limited to 'lib/THC/THCReduceApplyUtils.cuh')
-rw-r--r-- | lib/THC/THCReduceApplyUtils.cuh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/THC/THCReduceApplyUtils.cuh b/lib/THC/THCReduceApplyUtils.cuh index 2d3ad30..d5ac2b5 100644 --- a/lib/THC/THCReduceApplyUtils.cuh +++ b/lib/THC/THCReduceApplyUtils.cuh @@ -187,8 +187,8 @@ TensorInfo<IndexType>::collapseDims(int excludeDim) { } for (int i = firstNonOneDim - 1; i >= 0; --i) { - long sizeOuter = sizes[i]; - long strideOuter = strides[i]; + IndexType sizeOuter = sizes[i]; + IndexType strideOuter = strides[i]; if ((excludeDim != i) && (excludeDim != i + 1)) { if (sizeOuter == 1) { |