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,