Files

18 lines
568 B
Diff
Raw Permalink Normal View History

2026-05-04 18:37:06 -05:00
Fix:
blackvoltimeextrapolation.cpp:39:50: error: implicit instantiation of undefined template 'std::vector<double>'
return std::max(varianceSurface(times.back(), strike), 0.0) / times.back() * t;
^
https://github.com/lballabio/QuantLib/issues/2557
--- ql/termstructures/volatility/equityfx/blackvoltimeextrapolation.hpp
+++ ql/termstructures/volatility/equityfx/blackvoltimeextrapolation.hpp
@@ -27,6 +27,7 @@
#include <ql/types.hpp>
#include <functional>
+#include <vector>
namespace QuantLib {