def construct_proposal(self, y): # fixed proposal exists from a certain iteration, return std MH otherwise # was created in adapt method if self.proposal is not None: return self.proposal else: return StandardMetropolis.construct_proposal(self, y)