From d40eddc56b17566eb45fdfd5cd81a84fc182686a Mon Sep 17 00:00:00 2001 From: Kyle Lutz Date: Fri, 10 May 2013 21:49:04 -0400 Subject: [PATCH] Fix compilation error with get() and tuple This fixes a compilation error which occured when using the get() function with tuple types. --- include/boost/compute/tuple.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/compute/tuple.hpp b/include/boost/compute/tuple.hpp index b9bcccf3..b5d83510 100644 --- a/include/boost/compute/tuple.hpp +++ b/include/boost/compute/tuple.hpp @@ -197,7 +197,7 @@ inline meta_kernel& operator<<(meta_kernel &kernel, kernel.inject_type(); - return kernel << expr.m_arg << ".v" << N; + return kernel << expr.m_arg << ".v" << uint_(N); } template @@ -210,7 +210,7 @@ inline meta_kernel& operator<<(meta_kernel &kernel, kernel.inject_type(); - return kernel << expr.m_arg << ".v" << N; + return kernel << expr.m_arg << ".v" << uint_(N); } template @@ -223,7 +223,7 @@ inline meta_kernel& operator<<(meta_kernel &kernel, kernel.inject_type(); - return kernel << expr.m_arg << ".v" << N; + return kernel << expr.m_arg << ".v" << uint_(N); } } // end detail namespace