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

github.com/torch/image.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-02-03 06:39:54 +0300
committerSoumith Chintala <soumith@gmail.com>2015-02-03 06:39:54 +0300
commitd88cb413af3c40ba91e15b7fab9885168f805896 (patch)
tree7cf1a35b16db7065074d6963448cee45932cba4d
parentcfd33b556dc781412d0340abb8a286078dfcd9da (diff)
parentcb77d8add0102b7e4c080b5b8112daedae4a2031 (diff)
Merge pull request #45 from nagadomi/fix_missing_private_variable
fix missing private variable in image.scale
-rw-r--r--generic/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/image.c b/generic/image.c
index ed3033c..d33033e 100644
--- a/generic/image.c
+++ b/generic/image.c
@@ -225,7 +225,7 @@ static int image_(Main_scaleSimple)(lua_State *L)
scx=((float)src_width)/((float)dst_width);
scy=((float)src_height)/((float)dst_height);
-#pragma omp parallel for private(j)
+#pragma omp parallel for private(j, i, k)
for(j = 0; j < dst_height; j++) {
for(i = 0; i < dst_width; i++) {
float val = 0.0;