grid_random function errors out: 'object' should be a 'quant_param' object

Great. Please mark the solution for the benefit of those to follow.