Follow a suggestion by k3daevin: In TriaAccessor<2,3>::measure(), return a NaN instead of -1e10 to make the error condition clearer.