MantisBT - Community
View Issue Details
0007723Community[OCCT] OCCT:Modeling Algorithmspublic2005-01-13 17:452011-11-23 18:01
abv 
jgv 
normaltrivial 
closedfixed 
All
 
[OCCT] 5.2.3 
0007723: Operator precedence in Correct_Wire
This bug has been reported by Christian R. Krug on OCC Forum, see thread 7288:
http://www.opencascade.org/org/forum/thread_7288 [^]

----------

I found some errors in Correct_Wire.cxx concerning operator precedence.

Instead of

if(ptr[i].State() | 32 ==0) { (line 342)
if(ptr[bef].State() | 32 ==0) { (lines 346 and 350)
if(ptr[i].State() | 16 == 0) return; (lines 874 and 988)

it should read

if((ptr[i].State() | 32) == 0)
if((ptr[bef].State() | 32) == 0) {
if((ptr[i].State() | 16) == 0) return;

With kind regards, Kris
Documentation remark, added by jgv 2005-02-07 09:20:44:

Changes:
Some errors in Correct_Wire.cxx concerning operator precedence have been
eliminated.
No tags attached.
gz jgv-OCC7723.tar.gz (10,301) 2005-01-21 11:58
https://tracker.dev.opencascade.org/
Issue History
2005-01-17 08:59bugmasterStatusclosed => assigned
2005-01-17 08:59bugmasterResolutionsuspended => @0@
2005-01-17 08:59bugmasterAssigned Tobugmaster => mkk
2005-01-21 10:09mkkAssigned Tomkk => jgv
2005-01-26 10:41apvCC => apv, aki
2005-02-07 17:09bugmasterStatusassigned => tested
2005-02-14 10:10bugmasterStatustested => verified
2005-05-06 15:24bugmasterStatusverified => closed
2005-05-06 15:24bugmasterResolution@0@ => fixed
2011-08-02 11:31bugmasterCategoryOCCT:MOA => OCCT:Modeling Algorithms
2011-11-23 18:01szyDescription Updatedbug_revision_view_page.php?rev_id=936#r936
2011-11-23 18:01szyAdditional Information Updatedbug_revision_view_page.php?rev_id=938#r938

There are no notes attached to this issue.