#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
Status: | new → assigned |
---|
comment:2 Changed 20 years ago by
comment:3 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I forgot to mark this bug as resolved and fixed.
comment:4 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000186 |
---|
Note: See
TracTickets for help on using
tickets.
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.