Skip to content
Snippets Groups Projects
Commit f7751fd9 authored by Moe Jette's avatar Moe Jette
Browse files

Added an error check to sample program in doc/html/programmer.guide.html.

parent 2e03f389
No related branches found
No related tags found
No related merge requests found
......@@ -444,6 +444,10 @@ main (int argc, char *argv[])
break;
for (k = part_ptr[i].node_inx[j];
k <= part_ptr[i].node_inx[j+1]; k++) {
if (k > node_buffer_ptr->node_count) {
printf ("Node index out of sync\n");
break;
}
printf("%s,", node_ptr[k].name);
}
}
......
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