Custom sampler getting overriden by CompoundStep for discrete parameters

I believe you need to give your sampler object an attribute .vars that stores the variables that it’s assigned to. Try adding self.vars = delta_variables in the init method definition.

1 Like