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

github.com/torch/cutorch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGao Yingkai <popol.subscribe@gmail.com>2016-12-16 23:37:06 +0300
committerGitHub <noreply@github.com>2016-12-16 23:37:06 +0300
commite0c2b522a211e42e060a5b69c368df0ea5e0380d (patch)
tree26358ddbff41e87d4c630a8de4cf746cf7d40d0a
parent9ca4e0a0043574e9227d246115a3518fb15223e0 (diff)
Bugfix of type in THCTensor macro.
A fix for issue #632.
-rw-r--r--lib/THC/THCTensor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/THC/THCTensor.h b/lib/THC/THCTensor.h
index e2521b1..16eb047 100644
--- a/lib/THC/THCTensor.h
+++ b/lib/THC/THCTensor.h
@@ -5,8 +5,8 @@
#include "THCStorage.h"
#include "THCGeneral.h"
-#define THCTensor TH_CONCAT_3(TH,CReal,Tensor)
-#define THCTensor_(NAME) TH_CONCAT_4(TH,CReal,Tensor_,NAME)
+#define THCTensor TH_CONCAT_3(THC,Real,Tensor)
+#define THCTensor_(NAME) TH_CONCAT_4(THC,Real,Tensor_,NAME)
#define THC_DESC_BUFF_LEN 64