View Single Post
Old 2009-03-18, 14:50   #13
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

22×32×7×13 Posts
Default

Quote:
Originally Posted by mklasson View Post
Ah, gcc doesn't like
Code:
found_factor( mpz_class( trial_primes[j] ), factors );
Try changing it to
Code:
mpz_class tmp( trial_primes[j] );
found_factor( tmp, factors );
for now...
That worked, thanks. I also needed to change the run_yafu function slightly to put " " around the command, because linux needs them. Windows is indifferent to the quotes, so they might as well be in there all the time.

I've attached the modified .cc file.

Quote:
Originally Posted by mklasson View Post
Sorry for spamming this thread btw.
Agreed, mods feel free to move this stuff where appropriate... including maybe the stuff below into the yafu thread.


Quote:
Originally Posted by mklasson View Post
EDIT: btw, just noticed something odd about yafu:
Code:
>yafu siqs(rho(1813647130602161341))
finds the factors and prints them to the screen (after a second "***factors found***"), but not to factor.log.
This should be simple to fix, thanks.

- ben
Attached Files
File Type: txt aliqueit-mod.txt (19.5 KB, 319 views)

Last fiddled with by bsquared on 2009-03-18 at 14:51 Reason: added attachment
bsquared is offline   Reply With Quote