@@ -74,8 +74,8 @@ CommodityOptionStrip::CommodityOptionStrip(const Envelope& envelope, const LegDa
7474 callBarrierData_(callBarrierData), putBarrierData_(putBarrierData), fxIndex_(fxIndex), isDigital_(isDigital),
7575 unaryPayoff_(payoffPerUnit) {
7676 if (!QuantLib::close_enough (premium, 0.0 )) {
77- QL_REQUIRE (premiumPayDate != Date (), " " );
78- QL_REQUIRE (!premiumCurrency.empty (), " " );
77+ QL_REQUIRE (premiumPayDate != Date (), " The premium is non-zero so its payment date needs to be provided " );
78+ QL_REQUIRE (!premiumCurrency.empty (), " The premium is non-zero so its currency needs to be provided " );
7979 premiumData_ = PremiumData (premium, premiumCurrency, premiumPayDate);
8080 }
8181}
@@ -338,8 +338,7 @@ void CommodityOptionStrip::buildAPOs(const Leg& leg, const boost::shared_ptr<Eng
338338 additionalMultipliers.pop_back ();
339339
340340 // Possibly add a premium to the additional instruments and multipliers
341- // We expect here that the fee alrea minimal
342- // dy has the correct sign
341+ // We expect here that the fee already has the correct sign
343342
344343 maturity_ = std::max (maturity_, addPremiums (additionalInstruments, additionalMultipliers, qlInstMult, premiumData_,
345344 1.0 , parseCurrency (legData_.currency ()), engineFactory, " " ));
0 commit comments