Commit 86400a9a authored by Alexander Danilov's avatar Alexander Danilov

Fix std::length_error exception in mesh_parallel

Extra parentheses causes std::vector::resize(-1)
parent fd3c0eee
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment