Don't assert scalars must be vectors.

assert_vector(b) where b is sometimes a scalar doesn't end well.