[arrayfire] 02/07: refresh patch bugfix-in-assign.patch

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Sep 27 16:58:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit 2857f9186c7997f3108eb1214622a70dba8d825a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Sep 26 23:14:54 2015 +0100

    refresh patch bugfix-in-assign.patch
---
 debian/patches/bugfix-in-assign.patch | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian/patches/bugfix-in-assign.patch b/debian/patches/bugfix-in-assign.patch
index 5fde9d9..678ff18 100644
--- a/debian/patches/bugfix-in-assign.patch
+++ b/debian/patches/bugfix-in-assign.patch
@@ -7,19 +7,14 @@ Subject: [PATCH] BUGFIX in assign
  src/api/c/assign.cpp | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/src/api/c/assign.cpp b/src/api/c/assign.cpp
-index 3c93ca2..c990889 100644
 --- a/src/api/c/assign.cpp
 +++ b/src/api/c/assign.cpp
-@@ -231,7 +231,7 @@ af_err af_assign_gen(af_array *out,
-         ARG_ASSERT(2, (ndims == 1) || (ndims == (dim_t)lInfo.ndims()));
+@@ -124,7 +124,7 @@
+         ArrayInfo lInfo = getInfo(lhs);
  
          if (ndims == 1 && ndims != (dim_t)lInfo.ndims()) {
 -            af_array tmp_in, tmp_out;
 +            af_array tmp_in = 0, tmp_out = 0;
              AF_CHECK(af_flat(&tmp_in, lhs));
-             AF_CHECK(af_assign_gen(&tmp_out, tmp_in, ndims, indexs, rhs_));
+             AF_CHECK(af_assign_seq(&tmp_out, tmp_in, ndims, index, rhs));
              AF_CHECK(af_moddims(out, tmp_out, lInfo.ndims(), lInfo.dims().get()));
--- 
-2.5.1
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list