Skip to content

Commit

Permalink
the other tsk_memset
Browse files Browse the repository at this point in the history
  • Loading branch information
petrelharp committed Sep 18, 2023
1 parent 96ec903 commit 0387044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c/tests/test_trees.c
Original file line number Diff line number Diff line change
Expand Up @@ -8258,8 +8258,8 @@ assert_equal_except_edges_and_mutation_nodes(
ret = tsk_table_collection_copy(ts2->tables, &t2, 0);
CU_ASSERT_EQUAL_FATAL(ret, 0);

memset(t1.mutations.node, 0, t1.mutations.num_rows * sizeof(*t1.mutations.node));
memset(t2.mutations.node, 0, t2.mutations.num_rows * sizeof(*t2.mutations.node));
tsk_memset(t1.mutations.node, 0, t1.mutations.num_rows * sizeof(*t1.mutations.node));
tsk_memset(t2.mutations.node, 0, t2.mutations.num_rows * sizeof(*t2.mutations.node));

tsk_edge_table_clear(&t1.edges);
tsk_edge_table_clear(&t2.edges);
Expand Down

0 comments on commit 0387044

Please sign in to comment.