From 341cafdcb2c9ff120371929d975191766184d6c5 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 25 Feb 2025 12:33:49 +0100 Subject: [PATCH] fx --- thrust/testing/unittest/assertions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thrust/testing/unittest/assertions.h b/thrust/testing/unittest/assertions.h index 259f5f68c29..7fb924ade7f 100644 --- a/thrust/testing/unittest/assertions.h +++ b/thrust/testing/unittest/assertions.h @@ -486,7 +486,7 @@ void assert_equal( const std::string& filename = "unknown", int lineno = -1) { - using InputType = typename THRUST_NS_QUALIFIER::iterator_traits::value_type; + using InputType = typename ::cuda::std::iterator_traits::value_type; assert_equal(first1, last1, first2, last2, THRUST_NS_QUALIFIER::equal_to(), filename, lineno); } @@ -501,7 +501,7 @@ void assert_almost_equal( const double a_tol = DEFAULT_ABSOLUTE_TOL, const double r_tol = DEFAULT_RELATIVE_TOL) { - using InputType = typename THRUST_NS_QUALIFIER::iterator_traits::value_type; + using InputType = typename ::cuda::std::iterator_traits::value_type; assert_equal(first1, last1, first2, last2, almost_equal_to(a_tol, r_tol), filename, lineno); }