This example illustrates the construction and use of a geometric preconditioner for indirect shooting methods. The first part presents a “good way” to use automatic differentiation using dual numbers, while the second part describes the construction and application of a geometric preconditioner on a toy example.