Skip to content
GitLab
Menu
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
ffea802f
Commit
ffea802f
authored
Nov 09, 2017
by
Peter W. Draper
Browse files
Need sizeof(gpart) not sizeof(part)
parent
d8103f04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
ffea802f
...
...
@@ -2703,7 +2703,7 @@ void space_init_gparts(struct space *s, int verbose) {
if
(
s
->
nr_gparts
>
0
)
threadpool_map
(
&
s
->
e
->
threadpool
,
space_init_gparts_mapper
,
s
->
gparts
,
s
->
nr_gparts
,
sizeof
(
struct
part
),
0
,
NULL
);
s
->
nr_gparts
,
sizeof
(
struct
g
part
),
0
,
NULL
);
if
(
verbose
)
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
clocks_getunit
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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