Opened 16 years ago
Last modified 16 years ago
#173 closed defect
rnd(1000) gives faulty result — at Version 1
Reported by: | Alpar Juttner | Owned by: | Alpar Juttner |
---|---|---|---|
Priority: | critical | Milestone: | LEMON 1.1 release |
Component: | core | Version: | release branch 1.0 |
Keywords: | Cc: | ||
Revision id: | 4b2382fd80ef and r1.0 |
Description (last modified by )
If you call the operator() with an integer value, it will give faulty result (i.e. it is 0 all the time)
Change History (2)
Changed 16 years ago by
Attachment: | c4aa9f097ef1.patch added |
---|
comment:1 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Priority: | major → critical |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
[c4aa9f097ef1] fixes this error by
double
as the parameters and return value ofoperator()
instead of a template parameters.real<Num>(Num)
andreal<Num>(Num,Num)
, as they suffer from the same problem and they are of no practical use.Please review the path so that it could be merge to the main as well as the 1.0 branch.