mirror of
https://bitbucket.org/Mattrixwv/my-classes.git
synced 2025-12-06 18:23:57 -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);
|
||||
//We still need to account for sqrt(num) being a divisor
|
||||
if(possibleDivisor != topPossibleDivisor){
|
||||
divisors.push_back(num / possibleDivisor)
|
||||
divisors.push_back(num / possibleDivisor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user