Commit 64fd9a94 authored by Kirill Terekhov's avatar Kirill Terekhov

bugfix

parent be26d8f9
Pipeline #166 failed with stages
in 7 minutes and 44 seconds
......@@ -24,10 +24,10 @@ int main(int argc, char ** argv)
int edge_num = atoi(argv[2]);
if( edge_num >= A.EdgeMaxLocalID(); )
if( edge_num >= A.EdgeLastLocalID() )
{
std::cout << "input edge is " << edge_num << " but only ";
std::cout << A.EdgeMaxLocalID() << " edges in the mesh" << std::endl;;
std::cout << A.EdgeLastLocalID() << " edges in the mesh" << std::endl;;
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment