#426 closed defect (fixed)
error in CountS
Reported by: | imendez | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Math | Version: | head |
Severity: | major | Keywords: | |
Cc: |
Description
Hi, in this code:
Serie AutoDating(Serie s)
{ DatCh(s,SerTms(s),FirstS) };
Serie AutoDatingUsu(Serie ser)
{ SubSer(AutoDating(ser),First(ser),Last(ser)) };
Serie SerDiario = SubSer(CalInd(W,Diario),y2006m01d01, y2006m01d20);
Serie SerViernes = SubSer(CalInd(W,WD(5)),y2006m01d01, y2006m01d20);
Serie AutoDiario = AutoDatingUsu(SerDiario);
Serie AutoViernes = AutoDatingUsu(SerViernes);
Real NumSerDiario = CountS(AutoDiario);
Real NumSerViernes = CountS(AutoViernes);
NumSerViernes should be 0, but its value is 1.
Change History (3)
comment:1 Changed 19 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000426 |
---|
Bug has been fixed at CVS.
CountS was returning internal cache size of time serie that is a wrong way when first or last dates are infinite.
Thanks to report it