mfem::infinity() and replace (almost) all usage of the std version with the shortcut. In SparseMatrix::MakeRef, copy the field isSorted from the original matrix.