Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpenel committed May 22, 2024
1 parent 62f81a7 commit 6f9f06d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "light_phylogeny"
version = "2.2.0"
version = "2.2.1"
authors = ["Simon Penel <[email protected]>"]
edition = "2018"
description ="Methods and functions for phylogeny."
Expand Down
2 changes: 0 additions & 2 deletions src/drawing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1233,9 +1233,7 @@ pub fn close_chemin_sp (
}
/// Set to idx the color_node_idx field of the children of root in gene_tree
pub fn set_color_index(gene_tree: &mut ArenaTree<String>, root :usize, idx : usize){
println!("Color index = {}",gene_tree.arena[root].color_node_idx);
gene_tree.arena[root].color_node_idx = idx;
println!("Color index = {}",gene_tree.arena[root].color_node_idx);
let children = &gene_tree.arena[root].children;
if children.len() > 0 {
let left = children[0];
Expand Down

0 comments on commit 6f9f06d

Please sign in to comment.