We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4acb697 commit fe69e89Copy full SHA for fe69e89
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