close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 21 years ago

Closed 21 years ago

Last modified 18 years ago

#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 danirus

Status: newassigned

comment:2 Changed 21 years ago by danirus

Resolution: fixed
Status: assignedclosed

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.

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000018
Note: See TracTickets for help on using tickets.