Fix incorrect argument in example

Fixes #1276