Rename: `from_vec` -> `from_vec_generic`
This commit is contained in:
parent
ff4e44a8ed
commit
68bdb427cf
|
@ -261,7 +261,7 @@ where DefaultAllocator: Allocator<N, R, C>
|
||||||
/// Creates a matrix backed by a given vector.
|
/// Creates a matrix backed by a given vector.
|
||||||
#[inline]
|
#[inline]
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
pub fn from_vec(nrows: R, ncols: C, data: Vec<N>) -> Self {
|
pub fn from_vec_generic(nrows: R, ncols: C, data: Vec<N>) -> Self {
|
||||||
Self::from_iterator_generic(nrows, ncols, data)
|
Self::from_iterator_generic(nrows, ncols, data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue