Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/cunn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2017-04-22 11:14:09 +0300
committerSoumith Chintala <soumith@gmail.com>2017-04-22 11:14:09 +0300
commitb9ab0f7ad41aca03605d44d54fdda5c3b2beb8ac (patch)
tree5241eb213039ae2ee7ff6e324cdc745d71833a39
parent93d31671597158db54e13906cba18e1b955d4562 (diff)
fix typo
-rw-r--r--lib/THCUNN/generic/SpatialConvolutionLocal.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/THCUNN/generic/SpatialConvolutionLocal.cu b/lib/THCUNN/generic/SpatialConvolutionLocal.cu
index 1799449..4a0563d 100644
--- a/lib/THCUNN/generic/SpatialConvolutionLocal.cu
+++ b/lib/THCUNN/generic/SpatialConvolutionLocal.cu
@@ -52,7 +52,7 @@ static THCTensor* THNN_(view_weight_local)(
THCState *state,
THCTensor *_weight)
{
- THTensor *weight = THCTensor_(newContiguous)(state, _weight);
+ THCTensor *weight = THCTensor_(newContiguous)(state, _weight);
THArgCheck(weight->nDimension == 3 || weight->nDimension == 6, 4,
"weight tensor should be 3D or 6D - got %dD", weight->nDimension);
if (weight->nDimension == 6) {