Commit b3ea452
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 fb1c76c commit b3ea452
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