message: Allow right multiplication: matrix * zero vector
diff: @@ -179,6 +179,9 @@ pub fn csr_mul_csvec<N, I>(lhs: CsMatViewI<N, I>,
  where N: Copy + Num,
  I: SpIndex,
  {
  + if rhs.dim == 0 {
  + return rhs.to_owned();
  + }
  if lhs.cols() != rhs.dim() {
  panic!("Dimension mismatch");
  }
  @@ -482,6 +485,12 @@ mod test {
  assert_eq!(expected_output, res);
  }
  + #[test]
  + fn mul_csr_zero_csvec() {
  + let zero = CsVec::new(0, vec![], vec![]);
  + assert_eq!(&mat1() * &zero, zero);
  + }
  +
  #[test]
  fn mul_csvec_csr() {
  let a = mat1();
  