From cdb057f613a9e0792a6abff063bcd5698a12c07a Mon Sep 17 00:00:00 2001 From: Christian Bender Date: Sat, 17 Mar 2018 15:53:00 +0100 Subject: [PATCH] fixed bug If used prime numbers it occurred an error. --- Math/Prime_Factorization/primefactorization.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Math/Prime_Factorization/primefactorization.cpp b/Math/Prime_Factorization/primefactorization.cpp index 8f8618558..b037f1562 100644 --- a/Math/Prime_Factorization/primefactorization.cpp +++ b/Math/Prime_Factorization/primefactorization.cpp @@ -30,15 +30,6 @@ void SieveOfEratosthenes(int N) } -void printDebug() -{ - // Prime factors with their powers in the given number in new line - for(auto it: prime_numbers) - { - cout<< it << endl; - } -} - // Prime factorization of a number void prime_factorization(int num) {