Changed visibility of convertToRowMajorOrdering