Verified Commit 030dafad authored by Tobias WEBER's avatar Tobias WEBER
Browse files

small bugfix

parent fc6bc88a
...@@ -68,6 +68,12 @@ int main(int argc, char** argv) ...@@ -68,6 +68,12 @@ int main(int argc, char** argv)
vecFinal.emplace_back(std::move(vecPos)); vecFinal.emplace_back(std::move(vecPos));
} }
if(vecFinal.size() == 0)
{
std::cerr << "Insufficient number of positions given." << std::endl;
return -1;
}
std::cout << "\nFull set of positions to match:\n"; std::cout << "\nFull set of positions to match:\n";
std::size_t ctr = 1; std::size_t ctr = 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