Skip to content

Commit d8f602c

Browse files
committed
Convert a few non-unicode characters in comments
1 parent 8153cd9 commit d8f602c

5 files changed

Lines changed: 9 additions & 10 deletions

File tree

ql/currencies/africa.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ namespace QuantLib {
108108
}
109109

110110
// South-African rand
111-
/* The ISO three-letter code is ZAR; the numeric code is 710.
112-
It is divided into 100 cents.
113-
*/
114111
ZARCurrency::ZARCurrency() {
115112
static ext::shared_ptr<Data> zarData(
116113
new Data("South-African rand", "ZAR", 710, "R", "", 100, Rounding(), "%3% %1$.2f"));
@@ -123,4 +120,5 @@ namespace QuantLib {
123120
new Data("Zambian kwacha", "ZMW", 967, "ZMW", "", 100, Rounding(), "1$.2f %3%"));
124121
data_ = zmwData;
125122
}
123+
126124
}

ql/currencies/africa.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace QuantLib {
3939

4040
// Angolan kwanza
4141
/*! The ISO three-letter code is AOA; the numeric code is 973.
42-
It is divided into 100 cêntimo.
42+
It is divided into 100 cêntimo.
4343
\ingroup currencies
4444
*/
4545
class AOACurrency : public Currency {
@@ -177,6 +177,7 @@ namespace QuantLib {
177177
public:
178178
ZMWCurrency();
179179
};
180+
180181
}
181182

182183
#if defined(QL_PATCH_MSVC)

ql/currencies/europe.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ namespace QuantLib {
9494

9595
// Danish krone
9696
/* The ISO three-letter code is DKK; the numeric code is 208.
97-
It is divided in 100 øre.
97+
It is divided in 100 øre.
9898
*/
9999
DKKCurrency::DKKCurrency() {
100100
static ext::shared_ptr<Data> dkkData(
@@ -198,7 +198,7 @@ namespace QuantLib {
198198

199199
// Norwegian krone
200200
/* The ISO three-letter code is NOK; the numeric code is 578.
201-
It is divided in 100 øre.
201+
It is divided in 100 øre.
202202
*/
203203
NOKCurrency::NOKCurrency() {
204204
static ext::shared_ptr<Data> nokData(
@@ -265,7 +265,7 @@ namespace QuantLib {
265265

266266
// Swedish krona
267267
/* The ISO three-letter code is SEK; the numeric code is 752.
268-
It is divided in 100 öre.
268+
It is divided in 100 öre.
269269
*/
270270
SEKCurrency::SEKCurrency() {
271271
static ext::shared_ptr<Data> sekData(
@@ -376,7 +376,7 @@ namespace QuantLib {
376376

377377
// Finnish markka
378378
/* The ISO three-letter code was FIM; the numeric code was 246.
379-
It was divided in 100 penniä.
379+
It was divided in 100 penniä.
380380
*/
381381
FIMCurrency::FIMCurrency() {
382382
static ext::shared_ptr<Data> fimData(

ql/experimental/swaptions/haganirregularswaptionengine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ namespace QuantLib {
349349

350350
/////////////////////////////////////////////////////////////////////////////////////////
351351
// Computes irregular swaption price according to P.J. Hunt, J.E. Kennedy: //
352-
// "Implied interest rate pricing models", Finance Stochast. 2, 275–293 (1998) //
352+
// "Implied interest rate pricing models", Finance Stochast. 2, 275-293 (1998) //
353353
/////////////////////////////////////////////////////////////////////////////////////////
354354

355355
Real HaganIrregularSwaptionEngine::HKPrice(Basket& basket,ext::shared_ptr<Exercise>& exercise) const {

ql/experimental/swaptions/haganirregularswaptionengine.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace QuantLib {
3939
1. P.S. Hagan: "Methodology for Callable Swaps and Bermudan
4040
'Exercise into Swaptions'"
4141
2. P.J. Hunt, J.E. Kennedy: "Implied interest rate pricing
42-
models", Finance Stochast. 2, 275293 (1998)
42+
models", Finance Stochast. 2, 275-293 (1998)
4343
4444
\warning Currently a spread is not handled correctly; it
4545
should be a minor exercise to account for this

0 commit comments

Comments
 (0)