Skip to content

Commit 7c031c4

Browse files
author
jenkins
committed
git subrepo pull (merge) ore
subrepo: subdir: "ore" merged: "094582c071" upstream: origin: "git@gitlab.acadiasoft.net:qs/ore.git" branch: "master" commit: "3c854df137" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "73a0129"
2 parents 6dca487 + 3c854df commit 7c031c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

OREData/ored/portfolio/compositetrade.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ void CompositeTrade::build(const QuantLib::ext::shared_ptr<EngineFactory>& engin
3838
fxRates_.clear();
3939
fxRatesNotional_.clear();
4040
legs_.clear();
41+
QL_REQUIRE(trades_.size() > 0, "Failed to build composite trade.");
4142
for (const QuantLib::ext::shared_ptr<Trade>& trade : trades_) {
4243

4344
trade->reset();

0 commit comments

Comments
 (0)