Fix error in example (reported by David Vázquez Púa, closes #44)