copy/paste error detected by a clang warning in rank