Add degenerate checks before calling BLAS routines.

Fixes #2754 (closed). Any multiplication or solve involving a zero-sized matrix or vector should be a noop instead of a crash.

Merge request reports

Loading