Commit c1aa1ec
committed
Fix logic issue when getting minimum value.
The current logic will give minimum value as Infinity incase the
array has all values as 0.1 parent 90df42c commit c1aa1ec
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
0 commit comments