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
05f94ca0
Commit
05f94ca0
authored
Apr 09, 2015
by
Jonathan Jenkins
Browse files
debug prints
parent
8a2236ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/torus.c
View file @
05f94ca0
...
...
@@ -434,6 +434,12 @@ static void torus_init( nodes_state * s,
// calculate my torus coords
to_dim_id
(
codes_mapping_get_lp_relative_id
(
lp
->
gid
,
0
,
1
),
s
->
params
->
n_dims
,
s
->
params
->
dim_length
,
s
->
dim_position
);
/* DEBUG
printf("%lu: my coords:", lp->gid);
for (i = 0; i < p->n_dims; i++)
printf(" %d", s->dim_position[i]);
printf("\n");
*/
int
temp_dim_pos
[
p
->
n_dims
];
for
(
i
=
0
;
i
<
p
->
n_dims
;
i
++
)
...
...
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