Commit e6f1de6
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 47fc169 commit e6f1de6
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