fixed pinning bug with non-square thread numbers
fixed pinning bug with non-square thread numbers

mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs,mancoast/cado-nfs