Fix vector examples
Merge pull request #1648 from elemoine/1648

Vector examples are broken