Skip to content
Snippets Groups Projects
Commit f27f3c78 authored by Danny Auble's avatar Danny Auble
Browse files

Fixed issue with normal linux cluster and smap

parent b7cfe963
No related branches found
No related tags found
No related merge requests found
......@@ -152,8 +152,9 @@ extern void init_grid(node_info_msg_t *node_info_ptr)
j = len - 1;
while ((node_info_ptr->node_array[i].name[j] >= '0') &&
(node_info_ptr->node_array[i].name[j] <= '9')) {
node_ptr->coord[j] *= 10;
node_ptr->coord[j] +=
info("j is %d", j);
node_ptr->coord[0] *= 10;
node_ptr->coord[0] +=
node_info_ptr->node_array[i].name[j]
- '0';
j++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment