Skip to content

Commit

Permalink
Avoid ambiguous calls
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Mar 8, 2024
1 parent 6d5892e commit 1f5518c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ql/pricingengines/bond/bondfunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ namespace QuantLib {
[[deprecated("Use the overload taking a Bond::Price argument instead")]]
static Rate atmRate(const Bond& bond,
const YieldTermStructure& discountCurve,
Date settlementDate = Date(),
Real cleanPrice = Null<Real>());
Date settlementDate,
Real cleanPrice);
static Rate atmRate(const Bond& bond,
const YieldTermStructure& discountCurve,
Date settlementDate = Date(),
Expand Down

0 comments on commit 1f5518c

Please sign in to comment.