diff options
author | Soumith Chintala <soumith@gmail.com> | 2016-12-16 23:43:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-16 23:43:42 +0300 |
commit | c48f4af6428d6f862099aa3edb81f35008e248dc (patch) | |
tree | 26358ddbff41e87d4c630a8de4cf746cf7d40d0a | |
parent | 9ca4e0a0043574e9227d246115a3518fb15223e0 (diff) | |
parent | e0c2b522a211e42e060a5b69c368df0ea5e0380d (diff) |
Merge pull request #639 from popol1991/patch-1
Bugfix of type in THCTensor macro.
-rw-r--r-- | lib/THC/THCTensor.h | 4 |
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 |