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 531312a commit 05e2b1dCopy full SHA for 05e2b1d
crates/harp/src/vector/formatted_vector.rs
@@ -101,9 +101,9 @@ impl FormattedVector {
101
}
102
103
fn column_iter_indices(&self, column: isize) -> anyhow::Result<std::ops::Range<i64>> {
104
- let (n_row, n_col) = harp::mat_dim(self.vector.sexp)?;
+ let (n_row, _n_col) = harp::mat_dim(self.vector.sexp)?;
105
let start = column as i64 * n_row as i64;
106
- let end = start + n_col as i64;
+ let end = start + n_row as i64;
107
Ok(start..end)
108
109
0 commit comments