cwFlowCross.cpp: Fixed missing 'break' in _get_flow_index().
This commit is contained in:
parent
22e1222742
commit
d30a112cae
@ -235,9 +235,15 @@ namespace cw
|
||||
|
||||
switch( destId )
|
||||
{
|
||||
case kCurDestId: flow_idx = p->cur_idx; break;
|
||||
case kNextDestId: flow_idx = (p->cur_idx + 1) % p->netN;
|
||||
default:
|
||||
case kCurDestId:
|
||||
flow_idx = p->cur_idx;
|
||||
break;
|
||||
|
||||
case kNextDestId:
|
||||
flow_idx = (p->cur_idx + 1) % p->netN;
|
||||
break;
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user