Opened 17 years ago
Closed 17 years ago
#582 closed defect (fixed)
strange behaviour in CountS
Reported by: | lmartiles | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | TimeSetAlgebra | Version: | head |
Severity: | blocker | Keywords: | |
Cc: |
Description
The first CountS reports 100 items while the second 110
Serie s1 = SetSer(MatSet(Rand(100,1,0,1)),y2000m01d01,Daily);
Serie s2 = s1 >> SubSer(UnknownSerie,Last(s1),Succ(Last(s1),Daily,10));
Real dim1 = CountS(s2);
WriteLn("Dimensión de la serie antes de realizar la operación\n dim=" + IntText(dim1));
Matrix aux = SerMat(s2);
Real dim2 = CountS(s2);
WriteLn("Dimensión de la serie despues de realizar la operación\n dim=" + IntText(dim2));
Change History (2)
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|
comment:2 Changed 17 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000582 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Problem has been solved in CVS
This is a heritage of lazy behaviour of virtual objects like time series
I'll try to solve it in the more general way.
Thanks for reporting.