From 5591bc04ef9c6804a46b7e6c6f54108ca0cf5c81 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 c1e89c3266..786fabae78 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;