Skip to content

Commit 228f853

Browse files
emmatypingbluss
andauthored
Change return type of kron
Co-authored-by: bluss <[email protected]>
1 parent 69993f2 commit 228f853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linalg/impl_linalg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ unsafe fn general_mat_vec_mul_impl<A, S1, S2>(
706706
///
707707
/// The kronecker product of a LxN matrix A and a MxR matrix B is a (L*M)x(N*R)
708708
/// matrix K formed by the block multiplication A_ij * B.
709-
pub fn kron<'a, A, S1, S2>(a: &ArrayBase<S1, Ix2>, b: &'a ArrayBase<S2, Ix2>) -> ArrayBase<OwnedRepr<A>, Ix2>
709+
pub fn kron<'a, A, S1, S2>(a: &ArrayBase<S1, Ix2>, b: &'a ArrayBase<S2, Ix2>) -> Array<A, Ix2>
710710
where
711711
S1: Data<Elem = A>,
712712
S2: Data<Elem = A>,

0 commit comments

Comments
 (0)