We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d73a76 commit b0a688fCopy full SHA for b0a688f
1 file changed
src/utils.cpp
@@ -378,7 +378,11 @@ QuantLib::DayCounter getDayCounter(const double n){
378
else if (n==6)
379
return QuantLib::Thirty360(QuantLib::Thirty360::BondBasis); // reasonable default for back compatibility
380
else if (n==7)
381
- return QuantLib::Actual365Fixed(QuantLib::Actual365Fixed::NoLeap);
+#if QL_HEX_VERSION >= 0x011600f0
382
+ return QuantLib::Actual365Fixed(QuantLib::Actual365Fixed::NoLeap);
383
+#else
384
+ return QuantLib::Actual365NoLeap();
385
+#endif
386
else if (n==8)
387
return QuantLib::ActualActual(QuantLib::ActualActual::ISMA);
388
else if (n==9)
0 commit comments