Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
marsggbo committed Feb 22, 2023
1 parent 06ee984 commit ef65dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperbox/mutables/spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def max_value(self):
return self.candidates_original[0]

def forward(self):
warnings.warn(f'You should not run forward of {self.__class__.__name__} directly.')
logger.warning(f'You should not run forward of {self.__class__.__name__} directly.')
return self.value

def __getitem__(self, index):
Expand Down

0 comments on commit ef65dc8

Please sign in to comment.