#84 closed defect (fixed)
DatCh doesn't work
| Reported by: | Javier Portugal | Owned by: | danirus |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | TimeSetAlgebra | Version: | head |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Evaluate this code in TOL (CVS version)
Serie ser = SubSer(CalInd(In(y2003m05d01, y2003m05d21), Diario),y2003m01d01,
y2003m11d01);
Serie sums = DatCh(ser, Semanal, SumS);
Serie sums has wrong data. Curiosly, this code works ok
Serie ser2 = CalInd(In(y2003m05d01, y2003m05d21), Diario);
Serie sums2 = DatCh(ser2, Semanal, SumS);
Change History (3)
comment:1 Changed 21 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 21 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000018 |
|---|
Note: See
TracTickets for help on using
tickets.

A solution for this bug has been released on CVS.
You must update only your tsrgrav.cpp copy.
Starting point for Series and their calculations must be the same.
In this specific case, SubSer start in FirstNoLess but DatCh (by an error of my
own, from the last update, error 79), starts in Ser()->FirstDate(), when it
should starts at FirstNoLess also.