Skip to content

Commit 62ee399

Browse files
committed
Fix typo in "Geometric" for error string
1 parent 3da6a5f commit 62ee399

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREData/ored/portfolio/asianoption.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void AsianOption::build(const boost::shared_ptr<EngineFactory>& engineFactory) {
5151
else if (option_.payoffType2() == "Geometric")
5252
tradeTypeBuilder += "Geometric";
5353
else {
54-
QL_FAIL("payoff type 2 must be 'Arithmetic' or 'Geomtetric'");
54+
QL_FAIL("payoff type 2 must be 'Arithmetic' or 'Geometric'");
5555
}
5656

5757
// Add Price/Strike

0 commit comments

Comments
 (0)