From 295d7e26c5f975595c9e04c59b478c9117995aec Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 11 Dec 2022 16:40:44 +0100 Subject: [PATCH] Remove assertion in function NewSimpleProto (issue #3925) It was triggered by mftraining. Signed-off-by: Stefan Weil --- src/classify/cluster.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/classify/cluster.cpp b/src/classify/cluster.cpp index bc9712c4b9..3eb4b8771a 100644 --- a/src/classify/cluster.cpp +++ b/src/classify/cluster.cpp @@ -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;