Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MBI/MBI.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def evaluate(self, x, d1=0, d2=0):
raise ValueError('MBI error: max value out of bounds at index {0}. '
'{1} < {2}'.format(i, maxV(x[:, i]), maxV(self.Cx[i])))
elif self._bounds_error == 'warn':
warnings.warn('MBI error: min value out of bounds at index {0}. '
'{1} < {2}'.format(i, minV(x[:, i]), minV(self.Cx[i])))
warnings.warn('MBI error: max value out of bounds at index {0}. '
'{1} < {2}'.format(i, maxV(x[:, i]), maxV(self.Cx[i])))
elif self._bounds_error == 'ignore':
pass

Expand Down