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

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Chanan <gchanan@fb.com>2017-06-01 19:11:43 +0300
committerSoumith Chintala <soumith@gmail.com>2017-06-11 11:32:08 +0300
commit67aa876ef3afdcae972d7999db9a8f4d5d42ec98 (patch)
tree34b6dc2ef274cb461f79707f4340b4a1ed54aeff
parentf622e9ae0e01c89c9ff01ab79807fb49de4c31e0 (diff)
Clarify a number of comments.
-rw-r--r--lib/TH/generic/THTensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TH/generic/THTensor.c b/lib/TH/generic/THTensor.c
index 61363ac..c2f7359 100644
--- a/lib/TH/generic/THTensor.c
+++ b/lib/TH/generic/THTensor.c
@@ -338,7 +338,7 @@ int THTensor_(expand2)(THTensor *ra, THTensor *rb, THTensor *opa, THTensor *opb,
return 0;
}
-TH_API int THTensor_(expand3)(THTensor *ra, THTensor *rb, THTensor *rc, THTensor *opa, THTensor *opb, THTensor *opc, int raiseErrors) {
+int THTensor_(expand3)(THTensor *ra, THTensor *rb, THTensor *rc, THTensor *opa, THTensor *opb, THTensor *opc, int raiseErrors) {
THArgCheck(THTensor_(nDimension)(opa) > 0, 0, "can't expand empty tensor opa");
THArgCheck(THTensor_(nDimension)(opb) > 0, 0, "can't expand empty tensor opb");
THArgCheck(THTensor_(nDimension)(opc) > 0, 0, "can't expand empty tensor opc");