Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
42e1a96a
Commit
42e1a96a
authored
Dec 14, 2016
by
Noah Wolfe
Browse files
Fixing slimfly router_packet_receive_rc()
parent
6b0b3ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/slimfly.c
View file @
42e1a96a
...
...
@@ -2818,6 +2818,12 @@ void slim_router_packet_receive_rc(router_state * s,
if
(
bf
->
c1
)
tw_rand_reverse_unif
(
lp
->
rng
);
if
(
bf
->
c5
){
for
(
int
i
=
0
;
i
<
num_indirect_routes
;
i
++
){
tw_rand_reverse_unif
(
lp
->
rng
);
}
}
if
(
bf
->
c2
)
{
tw_rand_reverse_unif
(
lp
->
rng
);
slim_delete_terminal_message_list
(
return_tail
(
s
->
pending_msgs
[
output_port
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment