Use using std::swap; swap(n,m) rather than std::swap(n,m) [CI SKIP]

This commit is contained in:
Nick Thompson
2018-10-29 13:00:30 -06:00
parent df7adb52ca
commit 9312962a68

View File

@ -37,7 +37,8 @@ extended_euclidean(Z m, Z n)
if (m < n)
{
swapped = true;
std::swap(m, n);
using std::swap;
swap(m, n);
}
Z u0 = m;
Z u1 = 1;