From 30bb0e7127c01a78819167b4f574702aca60983b Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Fri, 19 Jul 2024 09:12:35 +0200 Subject: [PATCH] Add kwargs to constructor --- SWIG/cashflows.i | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SWIG/cashflows.i b/SWIG/cashflows.i index 0d14d8d27..415ab8f9f 100644 --- a/SWIG/cashflows.i +++ b/SWIG/cashflows.i @@ -222,6 +222,9 @@ struct RateAveraging { %shared_ptr(OvernightIndexedCoupon) class OvernightIndexedCoupon : public FloatingRateCoupon { + #if !defined(SWIGJAVA) && !defined(SWIGCSHARP) + %feature("kwargs") OvernightIndexedCoupon; + #endif public: OvernightIndexedCoupon( const Date& paymentDate,