diff --git a/MBI/MBI.py b/MBI/MBI.py index e5a37a1..8403839 100644 --- a/MBI/MBI.py +++ b/MBI/MBI.py @@ -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