Skip to content

Commit

Permalink
Fix typo that came from comment (test passes)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhosuh committed Jul 14, 2023
1 parent ac364c0 commit 85b733b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curvesim/pool/cryptoswap/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,8 +1299,8 @@ def get_p(
- (K0**2 // 10**36 * (2 * gamma + 3 * 10**18) // 10**18)
)

# NNAG2 = N**N * A * gamma**2
NNAG2: int = N**N * A * gamma**2 // A_MULTIPLIER
# NNAG2 = A * gamma**2
NNAG2: int = A * gamma**2 // A_MULTIPLIER

# denominator = (GK0 + NNAG2 * x / D * K0 / 10**36)
denominator: int = GK0 + NNAG2 * xp[0] // D * K0 // 10**36
Expand Down

0 comments on commit 85b733b

Please sign in to comment.