Ignore:
Timestamp:
Aug 17, 2010, 10:16:31 AM (11 years ago)
Author:
Sven Rech
Message:

fix in msieve class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPluginBase/Miscellaneous/Msieve.cs

    r1817 r1820  
    122122        private static void AddToFactorlist(BigInteger factor, bool prime)
    123123        {
     124            //Check if factor already in factorlist:
     125            foreach (Factor f in factorlist)
     126                if (f.factor == factor)
     127                    return;
     128
     129            //Add to factorlist:
    124130            int count = 0;
    125131            while (currentNumber % factor == 0)
Note: See TracChangeset for help on using the changeset viewer.