Commit df80fdf5 authored by Mathieu Valois's avatar Mathieu Valois
Browse files

Fix wrong minstat computation

parent 22a7540e
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -18,10 +18,10 @@ Policy::operator string() const {

Policy::operator minMax() const {
	minMax m;
	m.maxlower = lower;
	m.maxupper = upper;
	m.maxdigit = digit;
	m.maxspecial = special;
	m.minlower = m.maxlower = lower;
	m.minupper = m.maxupper = upper;
	m.mindigit = m.maxdigit = digit;
	m.minspecial = m.maxspecial = special;
	return m;
}