eigen2 bugfix (thanks to Juan Perilla for catching it)