Commit a7d092aa authored by Alex Henrie's avatar Alex Henrie
Browse files

Make magic numbers static

parent b4daf8a8
Pipeline #863 passed with stage
in 73 minutes and 25 seconds
......@@ -27,9 +27,9 @@
namespace graph_tool
{
const char* _magic = u8"⛾ gt";
size_t _magic_length = 6;
const uint8_t _version = 1;
static const char* _magic = u8"⛾ gt";
static const size_t _magic_length = 6;
static const uint8_t _version = 1;
// deal with endianness
......
......@@ -64,7 +64,7 @@
#include <cmath>
#include <limits>
double MACHEP = 1.11022302462515654042E-16; /* 2**-53 */
static const double MACHEP = 1.11022302462515654042E-16; /* 2**-53 */
static double A[8] = {
4.65128586073990045278E-5,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment