Fix use of bitwise and instead of logical one.
This commit is contained in:
parent
ad53372253
commit
3d8d737aaf
|
@ -690,9 +690,9 @@ namespace Anabatic {
|
|||
bool Vertex::isH () const
|
||||
{
|
||||
GCell* gcell = getGCell();
|
||||
if (gcell->isDevice()) return isiHorizontal();
|
||||
else if ((gcell->isHChannel())||(gcell->isHRail())) return true;
|
||||
else if (gcell->isStrut()| gcell->isMatrix() ) return ((gcell->getWidth() > gcell->getHeight())||(gcell->getWidth() == gcell->getHeight()));
|
||||
if ( gcell->isDevice()) return isiHorizontal();
|
||||
else if ((gcell->isHChannel()) or (gcell->isHRail())) return true;
|
||||
else if ( gcell->isStrut() or gcell->isMatrix()) return ((gcell->getWidth() > gcell->getHeight())||(gcell->getWidth() == gcell->getHeight()));
|
||||
else return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue