It's checking the matrix format of *A*, not that of *b*.