Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
e181790b
Commit
e181790b
authored
Aug 04, 2015
by
Peter W. Draper
Browse files
A sanitized version of METIS reported that this array should be larger
Former-commit-id: 2826886b99eb2ec3eb51d351d130da52f612279a
parent
95988d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
e181790b
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment