Fixing a typo in the exception message. Fixes #335
Merge pull request #336 from lapointexavier/master

Fixing a typo in the exception message. Fixes #335