Fix invalid type for constant iterator's TestMakeConstantIterator
MODIFY
test/test_constant_iterator.cpp
test/test_constant_iterator.cpp
@@ -97,7 +97,8 @@ TEST(ConstantIteratorTests, TestMakeConstantIterator)
ASSERT_EQ(13, *iter0);
// test two argument version
- constant_iterator<int, int> iter1 = make_constant_iterator<int, int>(13, 7);
+ constant_iterator<int, thrust::detail::intmax_t> iter1 =
+ make_constant_iterator<int, thrust::detail::intmax_t>(13, 7);
ASSERT_EQ(13, *iter1);
ASSERT_EQ(7, iter1 - iter0);

Fix invalid type for constant iterator's TestMakeConstantIterator