From 40d39b16f75764a0bc65410b4c0a16b032b33adc Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Mon, 11 Dec 2023 14:45:23 -0800 Subject: [PATCH] Revert extent test changes --- tests/utility/extent_test.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utility/extent_test.cu b/tests/utility/extent_test.cu index d069f4dbd..d44e20368 100644 --- a/tests/utility/extent_test.cu +++ b/tests/utility/extent_test.cu @@ -44,13 +44,13 @@ TEMPLATE_TEST_CASE_SIG( { auto constexpr size = cuco::experimental::extent{}; auto constexpr res = cuco::experimental::make_window_extent(size); - STATIC_REQUIRE(gold_reference == static_cast(res)); + STATIC_REQUIRE(gold_reference == res.value()); } SECTION("Compute dynamic valid extent at run time.") { auto const size = cuco::experimental::extent{num}; auto const res = cuco::experimental::make_window_extent(size); - REQUIRE(gold_reference == static_cast(res)); + REQUIRE(gold_reference == res.value()); } }