Skip to content

Commit

Permalink
Fix parameter name (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Oct 20, 2023
2 parents e5bef2e + 3323805 commit 23156db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ql/instruments/bond.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ namespace QuantLib {
/*! The default bond settlement date is used for calculation. */
Real settlementValue(Real cleanPrice) const;

//! yield given a (clean) price and settlement date
//! yield given a price and settlement date
/*! The default bond settlement is used if no date is given. */
Rate yield(Real cleanPrice,
Rate yield(Real price,
const DayCounter& dc,
Compounding comp,
Frequency freq,
Expand Down

0 comments on commit 23156db

Please sign in to comment.