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:
Stefan Weil 2022-12-11 16:40:44 +01:00
parent f969ba9161
commit 5591bc04ef

View File

@ -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;