eter grid for parameter z. needs to be a list or a numpy array, but got z (of type zG) instead. Single values need to be wrapped in a list with one element.r