original_docstring: 
      make sure the parameters lie between the limits
      
docstring: make sure the parameters lie between the limits
docstring_tokens: make sure the parameters lie between the limits
code: def _ensure_constraint(self, trial):
      """
      make sure the parameters lie between the limits
      """
      for index in np.where((trial < 0) | (trial > 1))[0]:
        trial[index] = self.random_number_generator.rand()
code_tokens: def _ensure_constraint ( self , trial ) : for index in np . where ( ( trial < 0 ) | ( trial > 1 ) ) [ 0 ] : trial [ index ] = self . random_number_generator . rand ( )
short_docstring: make sure the parameters lie between the limits
short_docstring_tokens: make sure the parameters lie between the limits
comment: """
      make sure the parameters lie between the limits
      """