Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
e181790b
Commit
e181790b
authored
Aug 4, 2015
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
A sanitized version of METIS reported that this array should be larger
Former-commit-id: 2826886b99eb2ec3eb51d351d130da52f612279a
parent
95988d83
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/engine.c
+2
-2
2 additions, 2 deletions
src/engine.c
with
2 additions
and
2 deletions
src/engine.c
+
2
−
2
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
;
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment