From b028ef488671030dc39026f7259d7a84bfc5404c Mon Sep 17 00:00:00 2001 From: Shaunak Kishore Date: Sun, 13 Sep 2015 01:15:43 -0400 Subject: [PATCH] Allow for strange edge case with multiple corner --- lib/stroke_extractor.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/stroke_extractor.js b/lib/stroke_extractor.js index dfe97848..55f29f2d 100644 --- a/lib/stroke_extractor.js +++ b/lib/stroke_extractor.js @@ -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]);