Adapt Yield Curve and Volatility Surface and Market Data, to be better compatible with unit test.
Some checks failed
C++ CI / build (push) Has been cancelled
Some checks failed
C++ CI / build (push) Has been cancelled
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
#include "MarketData.hpp"
|
||||
|
||||
double MarketData::spot() const { return spot_; }
|
||||
YieldCurve& MarketData::yield_curve() { return *yield_curve_; }
|
||||
VolatilitySurface& MarketData::volatility_surface() { return *volatility_surface_; }
|
||||
const YieldCurve& MarketData::yield_curve() const { return *yield_curve_; }
|
||||
const VolatilitySurface& MarketData::volatility_surface() const { return *volatility_surface_; }
|
||||
|
||||
Reference in New Issue
Block a user