mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
fixed: broadcasting an int and receiving as a size_t is a very bad idea
pointy-hat: me
This commit is contained in:
parent
f425758c25
commit
a456b7dff5
@ -179,7 +179,8 @@ public:
|
||||
|
||||
if (m_comm.rank() == 0) {
|
||||
pack(data);
|
||||
m_comm.broadcast(&m_position, 1, 0);
|
||||
m_packSize = m_position;
|
||||
m_comm.broadcast(&m_packSize, 1, 0);
|
||||
m_comm.broadcast(m_buffer.data(), m_position, 0);
|
||||
} else {
|
||||
m_comm.broadcast(&m_packSize, 1, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user