Skip to content

Commit f64d5e3

Browse files
committed
make Black76 external
1 parent 5c38c1b commit f64d5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/Black76.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ library Black76 {
5959
* @return callPrice Call price for given Black76 parameters (18-decimal precision).
6060
* @return putPrice Put price for given Black76 parameters (18-decimal precision).
6161
*/
62-
function prices(Black76Inputs memory b76Input) internal pure returns (uint callPrice, uint putPrice) {
62+
function prices(Black76Inputs memory b76Input) external pure returns (uint callPrice, uint putPrice) {
6363
unchecked {
6464
uint tAnnualised = annualise(b76Input.timeToExpirySec);
6565
// products of <128 bit numbers, cannot overflow here when caseted to 256

0 commit comments

Comments
 (0)