Skip to content

Commit f258b13

Browse files
authored
Added missing assignment in MXVCurrency constructor (lballabio#2210)
2 parents 7bb76be + 7caa667 commit f258b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ql/currencies/america.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ namespace QuantLib {
140140
// Mexican Unidad de Inversion
141141
MXVCurrency::MXVCurrency() {
142142
static auto mxvData = ext::make_shared<Data>("Mexican Unidad de Inversion", "MXV", 979, "MXV", "", 1, Rounding());
143+
data_ = mxvData;
143144
}
144145

145146
// Unidad de Valor Real

0 commit comments

Comments
 (0)