Skip to content

Commit f063687

Browse files
fix: make tests static
Co-authored-by: David Leal <[email protected]>
1 parent fad74e8 commit f063687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/sieve_of_eratosthenes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void print(uint32_t N, const std::vector<bool> &is_prime) {
5656
/**
5757
* Test implementations
5858
*/
59-
void tests() {
59+
static void tests() {
6060
// 0 1 2 3 4 5 6 7 8
6161
// 9 10
6262
std::vector<bool> ans{false, false, true, true, false, true,

0 commit comments

Comments
 (0)