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
29f749af
Commit
29f749af
authored
Oct 15, 2015
by
Matthieu Schaller
Browse files
More formatting...
parent
f9d97451
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
29f749af
...
...
@@ -366,7 +366,7 @@ void engine_repartition(struct engine *e) {
/* Get the task weight. */
idx_t
w
=
(
t
->
toc
-
t
->
tic
)
*
wscale
;
if
(
w
<
0
)
error
(
"Bad task weight (%"
SCIDX
")."
,
w
);
if
(
w
<
0
)
error
(
"Bad task weight (%"
SCIDX
")."
,
w
);
/* Do we need to re-scale? */
wtot
+=
w
;
...
...
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