We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 202bcde commit 634df56Copy full SHA for 634df56
src/trees.rs
@@ -513,7 +513,7 @@ impl Tree {
513
///
514
/// # Errors
515
516
- /// [`TskitError`] may be returned via [`Tree::traverse_nodes`].
+ /// [`TskitError`] may be returned if a node index is out of range.
517
pub fn total_branch_length(&self, by_span: bool) -> Result<f64, TskitError> {
518
let nt = self.node_table();
519
let mut b = 0.;
0 commit comments