We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a8d585 + ab3500f commit d37ff13Copy full SHA for d37ff13
1 file changed
QuantExt-SWIG/SWIG/qle_indexes.i
@@ -271,9 +271,7 @@ class Name : public IborIndex {
271
public:
272
Name(const Period& tenor,
273
const Handle<YieldTermStructure>& h =
274
- Handle<YieldTermStructure>()) {
275
- return new Name(new Name(tenor,h));
276
- }
+ Handle<YieldTermStructure>());
277
};
278
%enddef
279
@@ -285,9 +283,7 @@ using QuantExt::Name;
285
283
class Name : public OvernightIndex {
286
284
287
Name(const Handle<YieldTermStructure>& h =
288
289
- return new Name(new Name(h));
290
291
292
293
0 commit comments