Amine Ifri
2017-07-21 09:18:03 UTC
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
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