Fix faulty example. Reformat tabs/spaces

Fixes #1438.