Fix typo: to be find (#1642)
This commit is contained in:
committed by
Nicolás Venturo
parent
40d15146c4
commit
9cf68279c1
@ -15,7 +15,7 @@ library Arrays {
|
||||
* bigger than any array element function then returns first index after last element (i.e. all
|
||||
* values inside the array are smaller than the target). Complexity O(log n).
|
||||
* @param array The array sorted in ascending order.
|
||||
* @param element The element's value to be find.
|
||||
* @param element The element's value to be found.
|
||||
* @return The calculated index value. Returns 0 for empty array.
|
||||
*/
|
||||
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
|
||||
|
||||
Reference in New Issue
Block a user