Skip to content

Commit 0b1f080

Browse files
committed
change Math to a library instead of a contract
1 parent 759f8de commit 0b1f080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/math/Math.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pragma solidity ^0.4.11;
55
* @dev Assorted math operations
66
*/
77

8-
contract Math {
8+
library Math {
99
function max64(uint64 a, uint64 b) internal constant returns (uint64) {
1010
return a >= b ? a : b;
1111
}

0 commit comments

Comments
 (0)