Fixed typo in MLPPLinAlg::minvr.

This commit is contained in:
Relintai 2023-12-26 23:37:45 +01:00
parent d35526be73
commit 8becbe085a

View File

@ -1565,7 +1565,7 @@ real_t MLPPLinAlg::minvr(const Ref<MLPPVector> &a) {
for (int i = 0; i < a_size; i++) {
real_t current_element = aa[i];
if (current_element > min_element) {
if (current_element < min_element) {
min_element = current_element;
}
}