Skip to content

Commit 4cc6f2b

Browse files
committed
Fix features of vortex-python
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent eda04e1 commit 4cc6f2b

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vortex-python/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ tokio = { workspace = true, features = ["fs", "rt-multi-thread"] }
5252
url = { workspace = true }
5353
vortex = { workspace = true, features = ["object_store", "tokio"] }
5454
vortex-tui = { workspace = true, optional = true }
55+
56+
[dev-dependencies]
57+
vortex-array = { path = "../vortex-array", features = ["_test-harness"] }

vortex-python/src/arrays/range_to_sequence.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn range_len(start: isize, stop: isize, step: isize) -> Option<usize> {
5757
usize::try_from(len).vortex_expect("stop >= start, step > 0, so len is non-negative");
5858
Some(len)
5959
} else {
60-
assert!(step != 0);
60+
assert_ne!(step, 0);
6161

6262
if stop > start {
6363
return None;

0 commit comments

Comments
 (0)