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 20 years ago

Last modified 18 years ago

#186 closed defect (fixed)

Infinite loop when creating a Set with "Dates"

Reported by: mercadona Owned by: danirus
Priority: normal Milestone:
Component: SetAlgebra Version: 1.1.1
Severity: normal Keywords:
Cc:

Description

If you compile the following code, tolbase loops forever:

TimeSet tms = Succ(D(1) * M(10),1, WD(1));
Set dates = Dates(tms, y2005m01d01, y2005m12d31);

Change History (4)

comment:1 Changed 20 years ago by manuelb

Status: newassigned

comment:2 Changed 20 years ago by danirus

This bug has been fixed.
The problem was in the definition of Successor method of TimeSet's Succ function.
I hope this does not get us into other troubles. Let's see during next weeks.
Please, Felix, if you will experiment some strange behavior let me know.

comment:3 Changed 20 years ago by danirus

Resolution: fixed
Status: assignedclosed

I forgot to mark this bug as resolved and fixed.

comment:4 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_000186
Note: See TracTickets for help on using tickets.