fix abstract example which was using old set_function_parameters.