The example provides, as its title aims to indicate, a simple eigenvalue solver. Hence, the example used is just a basic eigenvalue problem. So, no I wouldn't say that it is a mistake.
One might say that the generalized eigenvalue problem that you are referring to is more interesting, however, but that is the topic of a different demo.