nalgebra/tests/core/empty.rs
2019-09-01 20:38:01 +02:00

9 lines
194 B
Rust

use na::{DMatrix, DVector};
#[test]
fn empty_mul() {
// Issue #644
let m = DMatrix::<f32>::zeros(8, 0);
let v = DVector::<f32>::zeros(0);
assert_eq!(m * v, DVector::zeros(8));
}