salomesmesh: fix an error because of bad priorities in logial operators
This commit is contained in:
parent
75ce52f6b8
commit
a48d05e2bf
|
@ -2399,9 +2399,10 @@ bool LogicalOR::IsSatisfy( long theId )
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
(myPredicate1!=NULL) &&
|
(myPredicate1!=NULL) &&
|
||||||
(myPredicate2!=NULL) &&
|
(myPredicate2!=NULL) && (
|
||||||
myPredicate1->IsSatisfy( theId ) ||
|
myPredicate1->IsSatisfy( theId ) ||
|
||||||
myPredicate2->IsSatisfy( theId );
|
myPredicate2->IsSatisfy( theId )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user