mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
remove warning
This commit is contained in:
parent
6770f8f1aa
commit
db216f1836
@ -478,8 +478,9 @@ int Exists(int p1, int p2, const Array<twoint>& line)
|
|||||||
int i;
|
int i;
|
||||||
for (i = 1; i <= line.Size(); i++)
|
for (i = 1; i <= line.Size(); i++)
|
||||||
{
|
{
|
||||||
if (line.Get(i).i1 == p1 && line.Get(i).i2 == p2 ||
|
if ( (line.Get(i).i1 == p1 && line.Get(i).i2 == p2) ||
|
||||||
line.Get(i).i1 == p2 && line.Get(i).i2 == p1) {return 1;}
|
(line.Get(i).i1 == p2 && line.Get(i).i2 == p1) )
|
||||||
|
{return 1;}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user