Skip to content

Commit 9e0b06f

Browse files
committed
Merge pull request #61 from arrayfire/hotfix/index_test
unwrap index printing
2 parents 69f1a65 + 58a9fd9 commit 9e0b06f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl Drop for Indexer {
131131
/// let seqs = &[Seq::new(1.0, 3.0, 1.0), Seq::default()];
132132
/// let sub = index(&a, seqs).unwrap();
133133
/// println!("a(seq(1, 3, 1), span)");
134-
/// print(&sub);
134+
/// print(&sub).unwrap();
135135
/// ```
136136
pub fn index<T: Copy>(input: &Array, seqs: &[Seq<T>]) -> Result<Array, AfError>
137137
where c_double: From<T>

0 commit comments

Comments
 (0)