mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-12-21 14:56:47 +01:00
Fixed typo in MLPPLinAlg::minvr.
This commit is contained in:
parent
d35526be73
commit
8becbe085a
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user