diff --git a/include/ddc/non_uniform_point_sampling.hpp b/include/ddc/non_uniform_point_sampling.hpp index 5b7fc1707..4eada8541 100644 --- a/include/ddc/non_uniform_point_sampling.hpp +++ b/include/ddc/non_uniform_point_sampling.hpp @@ -33,11 +33,6 @@ class NonUniformPointSampling using discrete_vector_type = DiscreteVector; public: - static constexpr std::size_t rank() - { - return 1; - } - template class Impl { diff --git a/include/ddc/uniform_point_sampling.hpp b/include/ddc/uniform_point_sampling.hpp index 357fa79c3..a5bca08a5 100644 --- a/include/ddc/uniform_point_sampling.hpp +++ b/include/ddc/uniform_point_sampling.hpp @@ -34,11 +34,6 @@ class UniformPointSampling using discrete_vector_type = DiscreteVector; public: - static constexpr std::size_t rank() - { - return 1; - } - template class Impl { diff --git a/tests/non_uniform_point_sampling.cpp b/tests/non_uniform_point_sampling.cpp index 82c41d5f0..abb46ba63 100644 --- a/tests/non_uniform_point_sampling.cpp +++ b/tests/non_uniform_point_sampling.cpp @@ -26,11 +26,6 @@ Coordinate constexpr point_rx = Coordinate(0.3); } // namespace -TEST(NonUniformPointSamplingTest, Rank) -{ - EXPECT_EQ(DDimX::rank(), 1); -} - TEST(NonUniformPointSamplingTest, ListConstructor) { DDimX::Impl ddim_x(VALUES); diff --git a/tests/uniform_point_sampling.cpp b/tests/uniform_point_sampling.cpp index f35690fc3..1cb384a88 100644 --- a/tests/uniform_point_sampling.cpp +++ b/tests/uniform_point_sampling.cpp @@ -23,11 +23,6 @@ class UniformPointSamplingTest : public ::testing::Test Coordinate point_rx = Coordinate(0.); }; -TEST_F(UniformPointSamplingTest, Rank) -{ - EXPECT_EQ(DDimX::rank(), 1); -} - TEST_F(UniformPointSamplingTest, Constructor) { DDimX::Impl ddim_x(origin, step);