Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
fe57ace4
Commit
fe57ace4
authored
Mar 31, 2015
by
Misbah Mubarak
Browse files
minor bug fix in dragonfly
parent
4e3fa9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/dragonfly.c
View file @
fe57ace4
...
...
@@ -816,7 +816,7 @@ terminal_init( terminal_state * s,
s
->
anno
,
0
);
s
->
terminal_id
=
(
mapping_rep_id
*
num_lps
)
+
mapping_offset
;
s
->
router_id
=
(
int
)
s
->
terminal_id
/
s
->
params
->
num_routers
;
s
->
router_id
=
(
int
)
s
->
terminal_id
/
(
s
->
params
->
num_routers
/
2
)
;
s
->
terminal_available_time
=
0
.
0
;
s
->
packet_counter
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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