[python-arrayfire] 01/11: BUGFIX: fixing a bug in histogram
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu May 26 17:37:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.
commit 4a49c385b931be331d76fd62644e27b65335da57
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Tue May 10 14:35:10 2016 -0400
BUGFIX: fixing a bug in histogram
---
arrayfire/image.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arrayfire/image.py b/arrayfire/image.py
index c0c3d7c..2487abe 100644
--- a/arrayfire/image.py
+++ b/arrayfire/image.py
@@ -408,7 +408,7 @@ def histogram(image, nbins, min_val = None, max_val = None):
output = Array()
safe_call(backend.get().af_histogram(ct.pointer(output.arr),
image.arr, ct.c_uint(nbins),
- ct.c_float(min_val), ct.c_float(max_val)))
+ ct.c_double(min_val), ct.c_double(max_val)))
return output
def hist_equal(image, hist):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git
More information about the debian-science-commits
mailing list