cwFlowCross.cpp: Fixed missing 'break' in _get_flow_index().

This commit is contained in:
kevin 2021-12-27 20:27:05 -05:00
parent 22e1222742
commit d30a112cae

View File

@ -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);
}