<分区>
调试时我在“else if”部分发现 if(temp->parent==temp1)
语句不检查 true
或 false
。控件直接跳转到 Send()
函数。请让我知道哪里出了问题。
else if(I_Send(my_rank,global_parent,&dest,num_procs))
{
if(temp->parent==temp1)
{
fix_node[my_rank]==temp;
}
Send(fix_node[my_rank],L,sz_vec[fix_node[my_rank]->node_num],fix_node[my_rank],dest,temp1);
temp1=temp1->parent;
if(temp1!=NULL)
local_parent=temp1->node_num;
}