Skip to content

Commit

Permalink
FIX: Add missing cfg for is_blas_2d
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Jan 20, 2018
1 parent b978bd4 commit a984ded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/linalg/impl_linalg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ fn blas_column_major_2d<A, S>(a: &ArrayBase<S, Ix2>) -> bool
is_blas_2d(&a.dim, &a.strides, MemoryOrder::F)
}

#[cfg(feature="blas")]
fn is_blas_2d(dim: &Ix2, stride: &Ix2, order: MemoryOrder) -> bool {
let (m, n) = dim.into_pattern();
let s0 = stride[0] as isize;
Expand Down

0 comments on commit a984ded

Please sign in to comment.