Skip to content

Commit

Permalink
fixes index
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Sep 22, 2022
1 parent 3e27e8a commit 60780e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ref_import.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ REF_FCN static REF_STATUS ref_import_tetgen_node(REF_GRID *ref_grid_ptr,
REIS(1, fscanf(file, "%d", &mark), "node header mark");
REIS(0, mark, "nodes have mark");

for (node = nnode; node < nnode; node++) {
for (node = 0; node < nnode; node++) {
REIS(1, fscanf(file, "%d", &item), "node item");
REIS(node, item, "file node index");
RSS(ref_node_add(ref_node, node, &new_node), "add node");
Expand Down

0 comments on commit 60780e5

Please sign in to comment.