From 13d9a9bff3f392f6a6c6da8792e8dc7a668c4983 Mon Sep 17 00:00:00 2001 From: Riley Murray Date: Sat, 28 Sep 2024 16:07:29 -0400 Subject: [PATCH] attempt to resolve compiler error --- test/test_basic_rng/test_r123.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_basic_rng/test_r123.cc b/test/test_basic_rng/test_r123.cc index 4ef6451..ad5eec8 100644 --- a/test/test_basic_rng/test_r123.cc +++ b/test/test_basic_rng/test_r123.cc @@ -678,9 +678,9 @@ class TestRNGState : public ::testing::Test { void test_uint_key_constructors() { using RNG = r123::Philox4x32; + ASSERT_EQ(RandBLAS::RNGState::len_k, 2); // No-arugment constructor RandBLAS::RNGState s; - ASSERT_EQ(s.len_k, 2); ASSERT_EQ(s.key[0], 0); ASSERT_EQ(s.key[1], 0); for (int i = 0; i < 4; ++i) { @@ -688,7 +688,6 @@ class TestRNGState : public ::testing::Test { } // unsigned-int constructor RandBLAS::RNGState t(42); - ASSERT_EQ(t.len_k, 2); ASSERT_EQ(t.key[0], 42); ASSERT_EQ(t.key[1], 0); for (int i = 0; i < 4; ++i) {