fixes Triangle#type can't judge isoscales which sides 1, 2, 2