|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007197||VTK||(No Category)||public||2008-06-17 14:29||2016-08-12 09:54|
|Assigned To||Berk Geveci|
|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|
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.|
Dominik Szczerba (reporter)
|see mailing list thread: "streamline tracer does not work on cut filter results"|
Sean McBride (developer)
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.
Kitware Robot (administrator)
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.
|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|
|Copyright © 2000 - 2018 MantisBT Team|