Fix for the auto-generated minimise user function - the max_iter argument was a mess!
Authored by: bugman 2012-05-07
Parent: [r16070]
Child: [r16072]