Commit a082dae9 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Move static data to text segment.

parent 7173cafc
......@@ -79,7 +79,7 @@ int main()
fprintf(stderr, "random seed=%u\n", seed);
int ndims;
{
struct PPM_iinterval dimRange = { MIN_DIMS, MAX_DIMS };
static const struct PPM_iinterval dimRange = { MIN_DIMS, MAX_DIMS };
ndims = PPM_irandr(dimRange);
}
struct PPM_extent domain[MAX_DIMS];
......
Markdown is supported
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