From 483b39684d4aaabc82a08cf648db540d46768cb1 Mon Sep 17 00:00:00 2001 From: Stefan Brechtken Date: Sun, 7 Feb 2021 13:31:56 +0100 Subject: [PATCH] fixes #2662 --- modules/alphamat/src/cm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/alphamat/src/cm.cpp b/modules/alphamat/src/cm.cpp index 19dcb961e4a..660962eba39 100644 --- a/modules/alphamat/src/cm.cpp +++ b/modules/alphamat/src/cm.cpp @@ -90,7 +90,7 @@ void lle(my_vector_of_vectors_t& indm, my_vector_of_vectors_t& samples, float ep Mat ptDotN(20, 1, DataType::type), imd(20, 1, DataType::type); Mat Cones(20, 1, DataType::type), Cinv(20, 1, DataType::type); float alpha, beta, lagrangeMult; - Cones += 1; + Cones = 1; C = 0; rhs = 1;