Commit e181790b authored by Peter W. Draper's avatar Peter W. Draper
Browse files

A sanitized version of METIS reported that this array should be larger


Former-commit-id: 2826886b99eb2ec3eb51d351d130da52f612279a
parent 95988d83
......@@ -512,8 +512,8 @@ void engine_repartition ( struct engine *e ) {
for ( k = 0 ; k < nr_cells ; k++ )
offsets[k+1] = offsets[k] + 26;
/* Set the METIS options. */
idx_t options[METIS_NOPTIONS];
/* Set the METIS options. +1 to keep the GCC sanitizer happy. */
idx_t options[METIS_NOPTIONS+1];
METIS_SetDefaultOptions( options );
options[ METIS_OPTION_OBJTYPE ] = METIS_OBJTYPE_CUT;
options[ METIS_OPTION_NUMBERING ] = 0;
......
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