mirror of
https://bitbucket.org/Mattrixwv/my-classes.git
synced 2026-02-04 03:12:27 -05:00
Fixed syntax error in getDivisors
This commit is contained in:
@@ -217,7 +217,7 @@ std::vector<T> getDivisors(T num){
|
|||||||
divisors.push_back(possibleDivisor);
|
divisors.push_back(possibleDivisor);
|
||||||
//We still need to account for sqrt(num) being a divisor
|
//We still need to account for sqrt(num) being a divisor
|
||||||
if(possibleDivisor != topPossibleDivisor){
|
if(possibleDivisor != topPossibleDivisor){
|
||||||
divisors.push_back(num / possibleDivisor)
|
divisors.push_back(num / possibleDivisor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user