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:
authorSoumith Chintala <soumith@gmail.com>2016-12-17 01:20:57 +0300
committerGitHub <noreply@github.com>2016-12-17 01:20:57 +0300
commit6d0fba8c211ff62aded7270eb0dfb07afd4381b2 (patch)
tree57c49c6db4137a2d0a032eb10332417f421089c0
parentc48f4af6428d6f862099aa3edb81f35008e248dc (diff)
Revert "Bugfix of type in THCTensor macro."revert-639-patch-1
-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 16eb047..e2521b1 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(THC,Real,Tensor)
-#define THCTensor_(NAME) TH_CONCAT_4(THC,Real,Tensor_,NAME)
+#define THCTensor TH_CONCAT_3(TH,CReal,Tensor)
+#define THCTensor_(NAME) TH_CONCAT_4(TH,CReal,Tensor_,NAME)
#define THC_DESC_BUFF_LEN 64