Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Feb 25, 2025
1 parent 12f1bc0 commit 341cafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thrust/testing/unittest/assertions.h
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ void assert_equal(
const std::string& filename = "unknown",
int lineno = -1)
{
using InputType = typename THRUST_NS_QUALIFIER::iterator_traits<ForwardIterator1>::value_type;
using InputType = typename ::cuda::std::iterator_traits<ForwardIterator1>::value_type;
assert_equal(first1, last1, first2, last2, THRUST_NS_QUALIFIER::equal_to<InputType>(), filename, lineno);
}

Expand All @@ -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<ForwardIterator1>::value_type;
using InputType = typename ::cuda::std::iterator_traits<ForwardIterator1>::value_type;
assert_equal(first1, last1, first2, last2, almost_equal_to<InputType>(a_tol, r_tol), filename, lineno);
}

Expand Down

0 comments on commit 341cafd

Please sign in to comment.