Commit 09caef4a authored by incardon's avatar incardon

Adding error message

parent 7030e7f7
......@@ -365,6 +365,11 @@ class Vcluster: public Vcluster_base
openfpm::vector<size_t> & sz,
size_t root)
{
#ifdef SE_CLASS1
if (&send == &recv)
{std::cerr << "Error: " << __FILE__ << ":" << __LINE__ << " using SGather in general the sending object and the receiving object must be different" << std::endl;}
#endif
// Reset the receive buffer
reset_recv_buf();
......
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