Skip to content

Commit

Permalink
Rename method from generatePrimeFactors to sieveOfEratosthenes
Browse files Browse the repository at this point in the history
  • Loading branch information
fatosmorina committed Apr 12, 2017
1 parent 0882b45 commit da10d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UVa/PrimeFactors.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static void main(String[] args) {
number = Math.abs(number);
}
int originalNumber = number;
formatOutput(originalNumber, getPrimeFactors(originalNumber), isNegative);
formatOutput(originalNumber, sieveOfEratosthenes(originalNumber), isNegative);
number = input.nextInt();
}
}
Expand Down

0 comments on commit da10d96

Please sign in to comment.