[DRE-commits] [ruby-numo-narray] 12/13: fix bug: num of inputs should be lp->nin, not nf->nin.
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Wed Jun 21 08:37:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch patch-queue/master
in repository ruby-numo-narray.
commit 2842e46d46c4a3f26609e3bffaceb094537b7f01
Author: Masahiro TANAKA <masa16.tanaka at gmail.com>
Date: Fri Jun 9 19:58:02 2017 +0900
fix bug: num of inputs should be lp->nin, not nf->nin.
Gbp-Pq: Name 0012-fix-bug-num-of-inputs-should-be-lp-nin-not-nf-nin.patch
---
ext/numo/narray/ndloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/numo/narray/ndloop.c b/ext/numo/narray/ndloop.c
index 39c6ead..57ae075 100644
--- a/ext/numo/narray/ndloop.c
+++ b/ext/numo/narray/ndloop.c
@@ -397,7 +397,7 @@ ndloop_alloc(na_md_loop_t *lp, ndfunc_t *nf, VALUE args,
LARG(lp,j).ndim = 0;
lp->xargs[j].iter = &(iter[(max_nd+1)*j]);
lp->xargs[j].bufcp = NULL;
- lp->xargs[j].flag = (j<nf->nin) ? NDL_READ : NDL_WRITE;
+ lp->xargs[j].flag = (j<lp->nin) ? NDL_READ : NDL_WRITE;
lp->xargs[j].free_user_iter = 0;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-numo-narray.git
More information about the Pkg-ruby-extras-commits
mailing list