Fix a bug when using vectorizer and split together
Merge pull request #362 from OP2/fix-vectorizer

Fix vectorizer and splitter bug