[arrayfire] 93/248: Fixed template specilization for MSVC compiler in mean function

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:08 UTC 2015


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

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit ff0cbf8fe99cef48a8f7621c2ea903ea2696cef5
Author: pradeep <pradeep at arrayfire.com>
Date:   Tue Sep 29 22:02:11 2015 -0400

    Fixed template specilization for MSVC compiler in mean function
---
 src/api/c/stats.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/c/stats.h b/src/api/c/stats.h
index 6dca227..56439d5 100644
--- a/src/api/c/stats.h
+++ b/src/api/c/stats.h
@@ -63,7 +63,7 @@ static T mean(const Array<T>& input, const Array<Tw>& weights)
 
 #define COMPLEX_TYPE_SPECILIZATION(T, Tw) \
 template<>\
-T mean<T, Tw>(const Array<T>& input, const Array<Tw>& weights)\
+STATIC_ T mean<T, Tw>(const Array<T>& input, const Array<Tw>& weights)\
 {\
     Array<T> wts = cast<T, Tw>(weights);\
     dim4 iDims   = input.dims();\

-- 
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