View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023289 | Community | OCCT:Modeling Algorithms | public | 2012-07-16 16:24 | 2012-11-16 13:18 |
Reporter | Pawel | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2008 | ||
Product Version | 6.5.3 | ||||
Target Version | 6.5.4 | Fixed in Version | 6.5.4 | ||
Summary | 0023289: IntCurve_IntPolyPolyGen.gxx, suspicious else | ||||
Description | in lines 805: if ((D1.LastParameter()-D1.FirstParameter()) > 0.5*(DeltaU)) nbsamplesOnC1=(5*(nbsamplesOnC1*NbIter))/4; else nbsamplesOnC1=(5*(nbsamplesOnC1*NbIter))/4; and 822: if ((D2.LastParameter()-D2.FirstParameter()) > 0.5*(DeltaV)) nbsamplesOnC2=(5*(nbsamplesOnC2*NbIter))/4; else nbsamplesOnC2=(5*(nbsamplesOnC2*NbIter))/4; | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
child of | 0023132 | closed | Suspicious code snippets |
|
Conditional blocks in lines 805 and 822 were removed as lines 'nbsamplesOnC1=(5*(nbsamplesOnC1*NbIter))/4;' and 'nbsamplesOnC2=(5*(nbsamplesOnC2*NbIter))/4;' are executed in any case. |
|
The git branch CR23289 is ready to be reviewed. Dear oan, please review. |
|
No comments. Dear JGV, Please review. Is it right to use the same equation in both cases or another coefficient should be used? |
|
Please find and correct another similar blocks where <nbsamples> is initialized by strange way. |
|
Another strange initialization of 'nbsamples' variable was found in IntCurve_IntPolyPolyGen.gxx. The Git branch CR23289 was updated. Dear jgv, please review. |
|
No remarks |
|
Dear BugMaster, Branch CR23289 (and master from occt GIT master) was compiled on Linux and Windows platforms and tested. Regressions: Not detected Improvements: Not detected Testing cases: Not needed |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-16 16:24 | Pawel | New Issue | |
2012-07-16 16:24 | Pawel | Assigned To | => bugmaster |
2012-07-16 16:25 | Pawel | Relationship added | child of 0023132 |
2012-10-09 18:46 | oan | Assigned To | bugmaster => aba |
2012-10-09 18:46 | oan | Status | new => assigned |
2012-10-17 15:05 |
|
Note Added: 0021817 | |
2012-10-17 15:07 |
|
Note Added: 0021818 | |
2012-10-17 15:07 |
|
Status | assigned => resolved |
2012-10-17 15:07 |
|
Assigned To | aba => oan |
2012-10-22 11:15 | oan | Note Added: 0021874 | |
2012-11-01 12:43 | oan | Assigned To | oan => jgv |
2012-11-06 13:29 |
|
Assigned To | jgv => aba |
2012-11-06 13:32 |
|
Note Added: 0022097 | |
2012-11-06 13:32 |
|
Status | resolved => assigned |
2012-11-06 15:10 |
|
Note Added: 0022102 | |
2012-11-06 15:10 |
|
Assigned To | aba => jgv |
2012-11-06 15:10 |
|
Status | assigned => resolved |
2012-11-06 16:59 |
|
Note Added: 0022109 | |
2012-11-06 16:59 |
|
Status | resolved => reviewed |
2012-11-06 18:06 |
|
Assigned To | jgv => mkv |
2012-11-07 17:10 |
|
Note Added: 0022137 | |
2012-11-07 17:12 |
|
Test case number | => Not needed |
2012-11-07 17:12 |
|
Assigned To | mkv => bugmaster |
2012-11-07 17:12 |
|
Status | reviewed => tested |
2012-11-12 11:33 |
|
Changeset attached | => occt master 5d351552 |
2012-11-12 11:33 |
|
Assigned To | bugmaster => aba |
2012-11-12 11:33 |
|
Status | tested => verified |
2012-11-12 11:33 |
|
Resolution | open => fixed |
2012-11-16 13:13 | bugmaster | Fixed in Version | => 6.5.4 |
2012-11-16 13:18 | bugmaster | Status | verified => closed |