mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Fixed rerun bug
This commit is contained in:
@@ -265,9 +265,11 @@ void Problem13::solve(){
|
||||
//Start the timer
|
||||
timer.start();
|
||||
|
||||
|
||||
//Get the sum of all the numbers
|
||||
sum = mee::getSum(nums);
|
||||
|
||||
|
||||
//Stop the timer
|
||||
timer.stop();
|
||||
|
||||
@@ -280,6 +282,7 @@ void Problem13::reset(){
|
||||
sum = 0;
|
||||
nums.clear();
|
||||
reserveVectors();
|
||||
setNums();
|
||||
}
|
||||
|
||||
//Gets
|
||||
|
||||
Reference in New Issue
Block a user