Skip to content

Commit

Permalink
update doc lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Feb 21, 2024
1 parent a8d0aac commit 24e07af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ pub fn uamutate(
/// * `dists` - A matrix of distances between entries in `values1` and closest values in `values2`.
/// * `groups` - A vector of same length as `dists`, with 1-based indices of group numbers. There
/// will generally be far fewer unique groups as there are entries in `dists`.
/// * `log_scale` - If true, distances are logged before being aggregated, with final values being
/// 10 ^ mean (log10 (x)).
///
/// # Returns
///
Expand Down Expand Up @@ -172,6 +174,8 @@ fn aggregate_to_groups(
/// * `dists` - A vector of distances between entries in `values1` and closest values in `values2`.
/// * `groups` - A vector of same length as `dists`, with 1-based indices of group numbers. There
/// will generally be far fewer unique groups as there are entries in `dists`.
/// * `log_scale` - If true, distances are logged before being aggregated, with final values being
/// 10 ^ mean (log10 (x)).
///
/// # Returns
///
Expand Down
1 change: 0 additions & 1 deletion src/read_write_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ pub fn readfile(
}
if let Some(number) = number.as_f64() {
if current_positions[i] < nentries {
// values[[i, current_positions[i]]] = number;
values[(current_positions[i], i)] = number;
current_positions[i] += 1;
}
Expand Down

0 comments on commit 24e07af

Please sign in to comment.