Skip to content

Commit

Permalink
udpate metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Oct 21, 2024
1 parent 23d03c3 commit 391d0c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/op/math/LibOpSub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Operand} from "rain.interpreter.interface/interface/IInterpreterV3.sol";
import {Pointer} from "rain.solmem/lib/LibPointer.sol";
import {IntegrityCheckStateNP} from "../../integrity/LibIntegrityCheckNP.sol";
import {InterpreterStateNP} from "../../state/LibInterpreterStateNP.sol";
import {SaturatingMath} from "rain.math.saturating/SaturatingMath.sol";
import {LibSaturatingMath} from "rain.math.saturating/lib/LibSaturatingMath.sol";

/// @title LibOpSub
/// @notice Opcode to subtract N integers.
Expand Down Expand Up @@ -34,7 +34,7 @@ library LibOpSub {
saturate := and(operand, 1)
}
function (uint256, uint256) internal pure returns (uint256) f =
saturate > 0 ? SaturatingMath.saturatingSub : sub;
saturate > 0 ? LibSaturatingMath.saturatingSub : sub;
a = f(a, b);

{
Expand Down

0 comments on commit 391d0c7

Please sign in to comment.