Skip to content

Commit f2ec84f

Browse files
committed
Fix thinko
1 parent 9fa04d4 commit f2ec84f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/harp/src/vector/formatted_vector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ impl FormattedVector {
101101
}
102102

103103
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)?;
104+
let (n_row, _n_col) = harp::mat_dim(self.vector.sexp)?;
105105
let start = column as i64 * n_row as i64;
106-
let end = start + n_col as i64;
106+
let end = start + n_row as i64;
107107
Ok(start..end)
108108
}
109109
}

0 commit comments

Comments
 (0)