Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
86400a9a
Commit
86400a9a
authored
Jan 01, 2015
by
Alexander Danilov
Browse files
Fix std::length_error exception in mesh_parallel
Extra parentheses causes std::vector::resize(-1)
parent
fd3c0eee
Changes
1
Hide whitespace changes
Inline
Side-by-side
mesh_parallel.cpp
View file @
86400a9a
...
...
@@ -3239,7 +3239,7 @@ namespace INMOST
ret
.
clear
();
else
{
ret
.
resize
(
(
recv_reqs
.
size
(),
-
1
)
)
;
ret
.
resize
(
recv_reqs
.
size
(),
-
1
);
if
(
!
recv_reqs
.
empty
()
)
{
REPORT_MPI
(
MPI_Waitsome
(
static_cast
<
INMOST_MPI_SIZE
>
(
recv_reqs
.
size
()),
&
recv_reqs
[
0
],
&
outcount
,
&
ret
[
0
],
MPI_STATUSES_IGNORE
));
...
...
Write
Preview
Markdown
is supported
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