diff --git a/include/primesieve/PreSieve_Tables.hpp b/include/primesieve/PreSieve_Tables.hpp index 0496d039..cfd035df 100644 --- a/include/primesieve/PreSieve_Tables.hpp +++ b/include/primesieve/PreSieve_Tables.hpp @@ -104,7 +104,7 @@ int main() if (j + 1 < buffers[i].size()) std::cout << (((j+1) % 20 == 0) ? "," : ", "); } - std::cout << " }," << std::endl; + std::cout << (i + 1 < buffers.size() ? " }," : " }") << std::endl; } std::cout << "}};" << std::endl; @@ -10860,7 +10860,7 @@ const primesieve::Array, 8> buffers = 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0xff, 0xff, 0xff, 0xfb, 0xff, 0xf7, 0xff, 0xff, 0xbf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff }, + 0xff, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff } }}; } // namespace