From f2d5efc60709614f16c9b3dbad28dc20e7074255 Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Thu, 18 Jul 2024 19:04:09 +0200 Subject: [PATCH] Restore keyword args for swaption implied vol --- SWIG/swaption.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SWIG/swaption.i b/SWIG/swaption.i index f1784d836..050b8219b 100644 --- a/SWIG/swaption.i +++ b/SWIG/swaption.i @@ -59,7 +59,9 @@ class Swaption : public Option { const ext::shared_ptr& underlying() const; const ext::shared_ptr& underlyingSwap() const; - //! implied volatility + #if !defined(SWIGJAVA) && !defined(SWIGCSHARP) + %feature("kwargs") impliedVolatility; + #endif Volatility impliedVolatility( Real price, const Handle& discountCurve,