``if dim is None``