Corrected the documentation

Now the example compiles