mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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;
|
||||
for (i = 1; i <= line.Size(); i++)
|
||||
{
|
||||
if (line.Get(i).i1 == p1 && line.Get(i).i2 == p2 ||
|
||||
line.Get(i).i1 == p2 && line.Get(i).i2 == p1) {return 1;}
|
||||
if ( (line.Get(i).i1 == p1 && line.Get(i).i2 == p2) ||
|
||||
(line.Get(i).i1 == p2 && line.Get(i).i2 == p1) )
|
||||
{return 1;}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user