Skip to content

Commit b894334

Browse files
pcaspersjenkins
authored andcommitted
fix
1 parent 052d3e2 commit b894334

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREData/ored/portfolio/referencedata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ XMLNode* BondReferenceDatum::BondData::toXML(XMLDocument& doc) const {
7979
XMLUtils::addChild(doc, node, "IssuerId", issuerId);
8080
XMLUtils::addChild(doc, node, "CreditCurveId", creditCurveId);
8181
XMLUtils::addChild(doc, node, "CreditGroup", creditGroup);
82-
XMLUtils::addChild(doc, node, "ReferenceCurveId", issuerId);
82+
XMLUtils::addChild(doc, node, "ReferenceCurveId", referenceCurveId);
8383
XMLUtils::addChild(doc, node, "IncomeCurveId", incomeCurveId);
8484
XMLUtils::addChild(doc, node, "VolatilityCurveId", volatilityCurveId);
8585
XMLUtils::addChild(doc, node, "SettlementDays", settlementDays);

0 commit comments

Comments
 (0)