Skip to content

Commit d01fae7

Browse files
committed
one little fix before heading to the office
1 parent eedc049 commit d01fae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trees.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ impl TreeSequence {
11481148
let ts = tables.tree_sequence(TreeSequenceFlags::default())?;
11491149
let mut output_node_map: Vec<NodeId> = vec![];
11501150
if idmap {
1151-
output_node_map.resize(self.nodes().num_rows() as usize, NodeId::NULL);
1151+
output_node_map.resize(usize::from(self.nodes().num_rows()), NodeId::NULL);
11521152
}
11531153
let rv = unsafe {
11541154
ll_bindings::tsk_treeseq_simplify(

0 commit comments

Comments
 (0)