Update examples in order to correct a compile error.
Merge pull request #1 from krdlab/feature/update_examples

Update examples in order to correct a compile error.