Allow for strange edge case with multiple corner

This commit is contained in:
Shaunak Kishore
2015-09-13 01:15:43 -04:00
parent 93f7589d92
commit b028ef4886

View File

@ -180,7 +180,6 @@ function get_features(ins, out) {
// connecting two corners by a bridge. This classifier throws out most data.
function hand_tuned_classifier(features) {
if (features[6] > 0) {
assert(features[4] === features[5]);
return -Angle.penalty(features[4]);
}
var angle_penalty = Angle.penalty(features[0]) + Angle.penalty(features[1]);