File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ struct FunctionArgument
7979
8080 template <typename T>
8181 __hydra_host__ __hydra_device__
82- typename std::enable_if< std::is_convertible<T, value_type>::value,
82+ typename std::enable_if< std::is_convertible<T, value_type>::value && (!detail::is_function_argument<T>::value) ,
8383 FunctionArgument<name_type, value_type>&>::type
8484 operator =(T other)
8585 {
@@ -89,7 +89,7 @@ struct FunctionArgument
8989
9090 template <typename T>
9191 __hydra_host__ __hydra_device__
92- typename std::enable_if< std::is_convertible<T, value_type>::value,
92+ typename std::enable_if< std::is_convertible<T, value_type>::value && (!detail::is_function_argument<T>::value) ,
9393 FunctionArgument<name_type, value_type>&>::type
9494 operator =(hydra_thrust::device_reference<T> const & other)
9595 {
You can’t perform that action at this time.
0 commit comments