Bug fix: A one-row matrix can be converted to a column vector in Mac, but not in Linux