Browse Source

change Math to a library instead of a contract

Francisco Giordano 8 years ago
parent
commit
0b1f08043b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/math/Math.sol

+ 1 - 1
contracts/math/Math.sol

@@ -5,7 +5,7 @@ pragma solidity ^0.4.11;
  * @dev Assorted math operations
  */
 
-contract Math {
+library Math {
   function max64(uint64 a, uint64 b) internal constant returns (uint64) {
     return a >= b ? a : b;
   }