View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007197 | VTK | (No Category) | public | 2008-06-17 14:29 | 2016-08-12 09:54 | ||||
Reporter | Dominik Szczerba | ||||||||
Assigned To | Berk Geveci | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007197: wrong comparison between doubles throughout the code | ||||||||
Description | if(x==y) for x,y floating point should be replaced by if(fabs(x-y)<eps) I belive this is the reason the stream tracer filter fails when compiled with the Intel compiler (10.1 on linux OpenSuse 32bit), which is more strict on comparing floating point numbers. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0012374) Dominik Szczerba (reporter) 2008-06-17 14:32 |
see mailing list thread: "streamline tracer does not work on cut filter results" |
(0012377) Sean McBride (developer) 2008-06-17 14:54 |
gcc is able to generate a warning when floats or doubles are compared with ==. Indeed, VTK has many many such warnings. There are several fixes and if(fabs(x-y)<eps) is one of them not not necessarily the best approach in all cases. |
(0036990) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-06-17 14:29 | Dominik Szczerba | New Issue | |
2008-06-17 14:32 | Dominik Szczerba | Note Added: 0012374 | |
2008-06-17 14:54 | Sean McBride | Note Added: 0012377 | |
2008-06-24 14:51 | Berk Geveci | Status | backlog => tabled |
2008-06-24 14:51 | Berk Geveci | Assigned To | => Berk Geveci |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036990 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |