Skip to content

Commit

Permalink
fix name error
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Jul 19, 2022
1 parent badbb68 commit a0e2768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/table_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use crate::IndividualTable;
use crate::IndividualTableSortOptions;
use crate::MigrationTable;
use crate::MutationTable;
use crate::NodeFlags;
use crate::NodeTable;
use crate::PopulationTable;
use crate::Position;
Expand Down Expand Up @@ -542,7 +541,7 @@ impl TableCollection {
/// assert!(tables.add_node_with_metadata(0, 0.0, -1, -1, &metadata).is_ok());
/// # }
/// ```
=> add_row_with_metadata, self, inner, nodes);
=> add_node_with_metadata, self, inner, nodes);

/// Add a row to the site table
pub fn add_site<P: Into<Position>>(
Expand Down Expand Up @@ -1177,6 +1176,7 @@ impl crate::traits::NodeListGenerator for TableCollection {}
#[cfg(test)]
mod test {
use super::*;
use crate::NodeFlags;

fn make_small_table_collection() -> TableCollection {
let mut tables = TableCollection::new(1000.).unwrap();
Expand Down

0 comments on commit a0e2768

Please sign in to comment.