Change implementation of to_row_vector for nalgebra (#34)
* Add failing test * Change implementation of to_row_vector for nalgebra
This commit is contained in:
@@ -1064,6 +1064,12 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn col_matrix_to_row_vector() {
|
||||
let m: DenseMatrix<f64> = BaseMatrix::zeros(10, 1);
|
||||
assert_eq!(m.to_row_vector().len(), 10)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn iter() {
|
||||
let vec = vec![1., 2., 3., 4., 5., 6.];
|
||||
|
||||
Reference in New Issue
Block a user