mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
Remove assertion in function NewSimpleProto (issue #3925)
It was triggered by mftraining. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
f969ba9161
commit
5591bc04ef
@ -2523,7 +2523,6 @@ static PROTOTYPE *NewMixedProto(int16_t N, CLUSTER *Cluster, STATISTICS *Statist
|
||||
*/
|
||||
static PROTOTYPE *NewSimpleProto(int16_t N, CLUSTER *Cluster) {
|
||||
auto Proto = new PROTOTYPE;
|
||||
ASSERT_HOST(N == sizeof(Cluster->Mean));
|
||||
Proto->Mean = Cluster->Mean;
|
||||
Proto->Distrib.clear();
|
||||
Proto->Significant = true;
|
||||
|
Loading…
Reference in New Issue
Block a user