mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023753: Test case bugs modalg_2 bug19793_2 works too long on Linux platform
class IntTools_ShrunkRange method void IntTools_ShrunkRange::Perform() Fix to avoid creation of small section edges. Correction of test case for issue CR23753
This commit is contained in:
@@ -316,6 +316,10 @@ void IntTools_ShrunkRange::Perform()
|
||||
if(!bFound) {
|
||||
if(dt1 > (t2 - t1)) {
|
||||
dt1 = aBAC.Resolution(d1);
|
||||
if (dt1 > (t2 - t1)) {
|
||||
myErrorStatus = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -411,6 +415,10 @@ void IntTools_ShrunkRange::Perform()
|
||||
if(!bFound) {
|
||||
if(dt2 > (t2 - t1)) {
|
||||
dt2 = aBAC.Resolution(d2);
|
||||
if(dt2 > (t2 - t1)) {
|
||||
myErrorStatus = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user