Login  Register

Structure functions in header file <ql/.../probabilitytraits.hpp>

Posted by Amine Ifri on Jul 21, 2017; 9:18am
URL: http://quantlib.414.s1.nabble.com/Structure-functions-in-header-file-ql-probabilitytraits-hpp-tp18433.html

Hi there,

I was recently using the bootstrapping classes to build all sorts of hazard rates curves from quotes of credit spreads in the market for a prototype of mine and came across the following functions in <probabilitytraits.hpp>:

Real HazardRate::minValueAfter(Size i, const C*c, bool validData) {…} and Real HazardRate::maxValueAfter(Size i, const C*c, bool validData) {…}

I was wondering whether the argument Size i in these two functions is redundant, as I can’t see its use anywhere in the source code for these two functions.

Thanks,
Amine


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users