|
From: Luca B. <luc...@gm...> - 2011-02-06 00:05:06
|
Hi,
I just bumped into this.
In the Schedule() constructor in ql/time/schedule.cpp, it seems that,
if
rule_ == DateGeneration::Zero;
and
endOfMonth == true;
at line 323:
[...]
if (endOfMonth && calendar.isEndOfMonth(seed)) {
// adjust to end of month
if (convention == Unadjusted) {
[...]
the variable "seed" is used without having been initialized.
Luca
|