tdulcet / Distributed-Computing-Scripts

🖧 Distributed Computing Scripts for GIMPS, BOINC and Folding@home
MIT License
19 stars 12 forks source link

Fixed errors causing primenet.py to crash. #20

Closed roastery-zz closed 1 year ago

roastery-zz commented 1 year ago

Fixed typo in grpup.

fftlen logic was previously trying to left-shift a float, which throws TypeError: unsupported operand type(s) for <<: 'float' and 'int'

tdulcet commented 1 year ago

Thanks you for these two bug fixes! I tried to simplify the logic in this function in the last release, but clearly I should have tested it more thoroughly. 🙈

For reference, this will be version 1.2.1. I will be sure to give you a shout out on the forum when I announce it.